hi,

I 've got problems executing .exe through Php script.


On my machine ( NT4, Omnihttpd), i can do whatever I want, but when I
transfer my scripts to
my server NT4 with IIS4, something goes wrong, (with a "dir" nothing
happens, with a "help" it slows down my server to a point I need to reboot
it)

To summarize I need to execute an exe for a connection with a bank and as it
did not work I tried with some DOS commands.

(I gave the proper rights to the directory containing my exe and my scripts)


Below is my script
<?
$CmdLine ="help";

$LastLine = exec($CmdLine, $AllOutput, $ReturnValue);
 print("Last Line : $LastLine <br>\n");
 print("Output : <br>\n");
 print $allOutput;
 for ($index = 0; $index < count($AllOutput); $index++)
 {
 print("$AllOutput[$index] <br>\n");
 }
 print ("<br><br>\n");
 print("return value : $ReturnValue<br>\n");
 
 ?>


Thanks in advance if someone had a similar problem

Luc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to