September 22nd, 1999, 05:08 AM
How do I execute one .php3 script from another.
Passing one or two arguments, and then receiving
I have tried using the exec and passthru function,
with no luck.
September 23rd, 1999, 12:17 PM
PHP scripts are interpeted thus you cannot "run" them. However, you could include() one in your script which basically does the same thing.
September 24th, 1999, 03:43 AM
Thanks, I got the picture...
October 10th, 1999, 05:11 PM
You can do it like this :
exec("chp3php.exe -q d:weblibSendMemberMail.php3");
But I can't make exec let go of it, so it hangs. Any suggestions anyone ?
October 12th, 1999, 12:34 PM
I would like to be able to do this myself.
The header() function can redirect the browser to a new page, but only at the very beginning -- not good enough.
It's an ugly and flawed solution and I hate it. It would be great if anyone could offer a better way.