[PHP] use of system/exec
Hello, Could someone please show me an example of code using system or exec. Would be great if the string was a unix command. Cheers John _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] use of system/exec
On Wed, 24 Oct 2001 18:19:19 +, John Gurley wrote: Hello, Could someone please show me an example of code using system or exec. Would be great if the string was a unix command. Cheers John I like backticks the best because they're easiest to deal with. ? $output=`ls | wc`; echo $output; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]