Guest User

Untitled

a guest
Apr 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. <?php
  2. if ($argv) {
  3. foreach ($argv as $k=>$v){
  4. if ($k==0) continue;
  5. $it = explode("=", $v);
  6. if (isset($it[1])) {
  7. $_GET[$it[0]] = $it[1];
  8. }
  9. }
  10. }
  11. // print_r($argv);
  12. // print_r($_GET);
  13. // php -f info.php test=1
  14. ?>
Add Comment
Please, Sign In to add comment