Problem in executing linux command from PHP

From: Date: Tue, 26 Aug 2003 04:20:35 +0000
Subject: Problem in executing linux command from PHP
Groups: php.db 
Request: Send a blank email to php-db+get-30109@lists.php.net to get a copy of this message
I have problem in executing linux command $output=exec("ls -a"); echo "<pre>$output</pre>"; the above coding works, but $output=exec("cp file1 file2"); echo "<pre>$output</pre>"; does not works. can any one help me out of this problem ------------------------------------------------- Sify Mail - now with Anti-virus protection powered by Trend Micro, USA. Know more at http://mail.sify.com Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com

« previous php.db (#30109) next »