Hi folks,

Having a strange problem...

I've got a php script named 'phptest' with the following code:

#!/usr/bin/php -q
<?
var_dump($argv);
?>

I've set the permission on the file to 755, and am executing the file by typing:
./phptest var1 var2 var3

The only output I get is NULL.  No matter what I do, I can't seem to pass any 
variables to the script.  Not just this script, either, I can't pass vars to any php 
script executing at the shell level.

I'm running 4.03 (please, no digs about the security hole(s), long, long story...) is 
there anything in the php.ini file I need to change?

TIA,

Kelly

Reply via email to