Hi,
I have a problem with executing a bat file under Win 98, php 4.0.6, apache 1.3.19.
The php code is:
<?
$sir=exec("e:\http\temp\file.bat");
print "String : $sir";
?>
and the bat code is: echo bla bla bbla
The result is : "String : ".Why?
Than when I looked what programms are in execution after I refreshed the php file 3 times and I found 3 php.exe in execution.Why?
What can i do to make this script to work(to execute that bat file).
Thanks