anyone know why exec() and system() do not work when i try to run external .exe's it seems to work for dos command like 'dir' but other executables dont' run even tho the paths are set correct i even copied the .exe's to the same dir as the script, both function return nothing unless it 'dir' or some other dos command. I'm passing arguments to those function from my code so i tried escapeshellarg() and escapeshellcmd() also but again they failed. I know my syntax for the executable is correct cus when i cut and paste from the scripts output it works in a dos windows.
Hmmm... Try to create a batch file for the command, then running the batch file from php?
Just wading in the fog, I'm afraid 😉
knutm
i had serious problems with exec() and system() when i was running PWS on WinME. I upgraded to WinXP/IIS and everything works now.
Yep my program is already running WinXP/IIS. I tried changing the localhost website properties to allow 'write' and run executables but still nothing, dammit i dunno what's going on.