problem with exec
| From: | Gabi Moise | Date: | Wed, 20 Aug 2003 13:42:51 +0000 |
| Subject: | problem with exec | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160176@lists.php.net to get a copy of this message | ||
Hi,
I am trying to run a .php page using the exec:
I have the two pages:
load.php:
exec("E:\PHP\php.exe F:\WORK\Load\load1.php");
And load1.php:
$f = fopen("F:\\WORK\\Load\\test.txt","w");
fputs($f,"hola!");
fclose($f);
However, it does not work as I expect too, around 30 instances of
php.exe are created, but without any result (appareanly load1.php is not
run).
If I try to exec notpad.exe it is ok (well, the notepad instance appears
only in taskmanager, I cannot see it).
Any suggestion on what am I doing wrong?
I am using W2K, with IIS and php 4.06.
Tnx,
Gabi