| 
 Posted by wesley on 11/13/06 08:55 
Hi All 
 
I am able to run a command line statement from php. Now i want to store 
that result from the command line and store it in a string for 
manipulation but the following line does not work 100% 
 
$string = system("ls -l"); 
 
echo $string; 
 
The command line statement does run but does not get stored in the 
variable. Any suggestions? 
Am i donig something wrong? 
 
Thanks 
Wes
 
  
Navigation:
[Reply to this message] 
 |