Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ($argv) {
- foreach ($argv as $k=>$v){
- if ($k==0) continue;
- $it = explode("=", $v);
- if (isset($it[1])) {
- $_GET[$it[0]] = $it[1];
- }
- }
- }
- // print_r($argv);
- // print_r($_GET);
- // php -f info.php test=1
- ?>
Add Comment
Please, Sign In to add comment