I'd like to execute a program and redirect it in a file.
I first tryed with dir :
exec('dir > dir.txt');
and it worked OK.
But when I use my program (nombre.exe) all I get is a blank file
I tried differents ways :
exec('nombre.exe > testnombre.txt');
passthru(nombre.exe > nombre.txt);
$application = "C:\Inetpub\wwwroot\sitecermn\Iso\nombre.exe";
exec('nombre.exe > nombre.txt');
and some other I don't remember ;0)
PS : I use php4 as a cgi module with IIS5 on WindowsNT4.