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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to