IIS4 problem

From: Date: Wed, 10 Jan 2001 16:21:11 +0000
Subject: IIS4 problem
Groups: php.general 
Request: Send a blank email to php-general+get-33691@lists.php.net to get a copy of this message
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

« previous php.general (#33691) next »