How do I access command line arguments in php (4.1.2)? Everytime I run my script, $argv and $argc are NULL. I've made sure that register_argc_argv is true.
I'm running on Red Hat Linux 7.3
try looking in the GLOBALS array
<pre> <? print_r($GLOBALS); ?> </pre>
and also at phpinfo();
you might need to access it through $_SERVER['argc']....