Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

[PHP] Capturing output of shell script. From: Charles Williams (hosting.mailing.list.account <email protected>)
Date: 06/29/01

Hello all,

I have an .sh shell script being executed from a php4 call. I need to
capture the string return and work with that in the php script. The only
problem is that the call works but I cannot get the returned string. I've
tried using exec, passthru, ``, system, and escapeshellcommand. Nothing
seems to work. any ideas?

thanks.
chuck

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>