RE: [PHP-WIN] problems with exec function

2002-09-13 Thread Rich Gray
Christian What happens if you use passthru() instead of exec()? Rich -Original Message- From: Christian Pichler [mailto:[EMAIL PROTECTED]] Sent: 13 September 2002 00:08 To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] problems with exec function Hey there, My problem is following.

[PHP-WIN] problems with exec function

2002-09-12 Thread Christian Pichler
Hey there, My problem is following. I want to execute a PHP program (here: test2.php) by another PHP program (here: test1.php) and get the return code of the second executed PHP Program. But I always get the return code 0. Even if I write 'return 50' in test1.php. But the rest of test1.php is wor