Exec ( ) command

From: Date: Mon, 17 Mar 2003 10:58:16 +0000
Subject: Exec ( ) command
Groups: php.general 
Request: Send a blank email to php-general+get-139923@lists.php.net to get a copy of this message
Hi everyone, If possible reply me. I have one problem. I'm trying to execute exec() command to generate stats by using the exec() function, it does not generate an error but it also does not run the command, and the value of $result thats returned from exec() is 11. Below is my PHP coding. dock1 refers to my .exe program. <html> <? $path="/home/manju/public_html/docking/dock1 dock_ptc1.mac"; $result=exec($path,$alloutput,$returnvalue); print("<br>"); print("Return Value: $returnvalue <br>"); ?> </html> Help me in this concern. Take care, bye _______________________________________________________________________ Odomos - the only mosquito protection outside 4 walls - Click here to know more! http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn

« previous php.general (#139923) next »