ID: 27556 Updated by: [EMAIL PROTECTED] Reported By: stan at workflowinc dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Windows XP PHP Version: 4CVS-2004-03-11 (dev) New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-03-11 08:51:27] stan at workflowinc dot com $_SERVER is populated (by the way argc => 1) ------------------------------------------------------------------------ [2004-03-11 08:39:48] [EMAIL PROTECTED] Is $_SERVER array populated (has any values) ? ------------------------------------------------------------------------ [2004-03-11 04:19:04] stan at workflowinc dot com I simply ran test.php arg1 from the command line interface. ------------------------------------------------------------------------ [2004-03-10 19:44:12] [EMAIL PROTECTED] Works fine for me. How exactly are you running the script? And are you using CLI or CGI? ------------------------------------------------------------------------ [2004-03-10 19:02:36] stan at workflowinc dot com Description: ------------ $_SERVER['argv'] is not detecting any arguments (register_argc_argv in php.ini is turned on). I'm actually working with 4.3.5RC4-dev, it wasn't on the list. Reproduce code: --------------- <?php print_r($_SERVER['argv']); exit; ?> Expected result: ---------------- Array ( [0] => test.php [1] => arg1 ) Actual result: -------------- Array ( [0] => test.php ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27556&edit=1
