>  Any one know why the "+" (plus sign) is not passed as argument to 
>$argv  when calling a php script from linux shell ?
>
>php test.php 123 xxx+yyyy

Best guess is + is a special character in the shell, so you need:

php test.php 123 "xxx+yyyy"


Or maybe even so far as:

php test.php 123 "xxx\+yyyy"

You'd have to read "man sh" to be 100% sure why + is special.

-- 
Like Music?  http://l-i-e.com/artists.htm


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

Reply via email to