Passing arguments to php bin like this used to work in older versions:
 
# /usr/local/bin/php  test.php '&arg=test'

but now it doesn't: $arg has no value within test.php
It's not in $GLOBALS either.
How to pass parameters to the script (apart from argv/argc) ?

# /usr/local/bin/php  -v
PHP 4.3.2 (cli) (built: Aug 10 2003 10:49:12)
on RH9

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to