Hello All

I am trying to use parse_str in my script , passing a variable.

I have old code, working with php 4.1.2 working with the following script :

[root@zion kickstart]# cat make-kickstart.php


#!/usr/local/bin/php -q
<?
// parse any arguments
parse_str ($argv[1]) ;

print "NAME: $name \n";

?>

for some reason tho , under 4.2.2 it is not parsing the argument/s

[root@zion kickstart]# ./make-kickstart.php name=lxmode
NAME:

Does any one know if anything changed in 4.2.2 , I swear it works under
4.1.2 or older.

Thanks for any advice or info in advance !!

Cheers

Neil



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

Reply via email to