Hello,

 I know im not sposta send posts here for help.. but this is on a live server..


 i just upgraded my 4.0.6 server to 4.1.2 when i call system or shell_exec
functions it parses out all but one parameter. this only happens in the
mod_php4 as a cgi it works fine.

so 

shell_exec("php -q file.php");
will result in a No file input

but
shell_exec("php file.php blah");

will execute the php code but it won't pass blah to the script.
this isn't just the php executable its all programs.

shell_exec("./test one two");

//test
#!/bin/bash
echo $1 $2

will only print 'one'



anyone please help me.. i wanna go home!!!!!!


 - Brad


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to