Posted by francescomoi on 10/20/86 11:40
Hi.
Using PHP 4.3.11, I want my script not to write standard output on the
webpage, but
on a textfile.
I tried with:
[code]
$variableName = 44;
system("/usr/local/php/bin/php /home/foo/script.php >
/home/foo/file.txt", $retval);
[/code]
But '/home/foo/script.php' doesn't consider $variableName.
Is there any way to call '/home/foo/script.php' and make it to write
standard output
on a textfile?
Thank you very much.
[Back to original message]
|