get all POST of GET http arguments


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $n = '_'.$_SERVER['REQUEST_METHOD'];
  2. foreach ($$n as $key => $value) {
  3. $$key = $value;
  4. // print "$key=$value\n";
  5. }
  6.  

Report this snippet


Comments


You need to login to view comments.