php-general | 2003022
Date: 02/28/03
- Next message: Dan Sabo: "[PHP] PHP Project for a newbie (me) or for hire?"
- Previous message: Henning: "[PHP] Is it an apache or a php-problem?"
- Next in thread: Jeff Bearer: "Re: [PHP] Redirecting STDOUT to a file pointer"
- Reply: Jeff Bearer: "Re: [PHP] Redirecting STDOUT to a file pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm working on a shell script in php. The script has an option to write
to standard output, or to a file. If the filehandle is opened I'd like
to redirect standard output to the file pointer. This would allow me
not to have to handle every output statement twice, once with an echo
and again with an fputs.
Can this be done in PHP?
-- Jeff Bearer, RHCE Webmaster, PittsburghLIVE.com-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Dan Sabo: "[PHP] PHP Project for a newbie (me) or for hire?"
- Previous message: Henning: "[PHP] Is it an apache or a php-problem?"
- Next in thread: Jeff Bearer: "Re: [PHP] Redirecting STDOUT to a file pointer"
- Reply: Jeff Bearer: "Re: [PHP] Redirecting STDOUT to a file pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

