|
Posted by JahMic on 11/27/07 06:02
I'm having a problem with exec on my hosting server. Unfortunately,
the hosting support seems to be anything but helpful.
The following works fine on my localhost:
<?php
$MaskData = "mask.exe -e \"TestString\"";
$Result = exec($MaskData, $Output, $ReturnValue);
echo("Result: ".$Result);
echo("ReturnValue: ".$ReturnValue."<br/>");
foreach($Output as $outputline)
{
echo("outputline: $outputline<br>");
}
?>
But on my hosting server, I've installed (I believe) the properly
compiled version for that os, and it always returns 127. I don't have
shell access, so I'm a bit of loss on how to proceed. Any
information on this return code or how to work through this, would be
greatly appreciated.
Thanks, J
Navigation:
[Reply to this message]
|