Command line php output redirection.
| From: | Joshua Moore-Oliva | Date: | Wed, 25 Jun 2003 22:37:31 +0000 |
| Subject: | Command line php output redirection. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152892@lists.php.net to get a copy of this message | ||
This is really scaring me as file redirection is one of the basic things in
linux.. anyways
I have a php script that outputs to stdout using echo.. when I run it using
php parser.php
I can see the output no problem. However, when I attempted to redirect to a
file using
php parser.php > temp
temp only contains
Content-type: text/html
X-Powered-By: PHP/4.3.2
Help??
Thanks, Josh.