on linux, you could simply open these 'files':

/dev/stdin
/dev/stdout

for windows, and for portability, PHP provides the following dummy's,
which can also simply be used by fopen() :

php://stdin
php://stdout


bvr.



On Fri, 11 Jan 2002 12:19:05 -0500, Mullin, Reginald wrote:

>Hi Guys,
>I recently read an email entitled "Can a PHP program receive an e-mail and
>write it to a file???" in the PHP archives (see
>http://marc.theaimsgroup.com/?l=php-general&m=97986044121868&w=2) and wanted
>to ask a follow up question.  I'm a novice programmer, new to PHP, and
>unfamiliar with the ways in which to access the Standard Input for a PHP
>program.  Can anyone provide me with some examples or online reference
>material as to how I can go about doing this.  For example, is there a
>particular variable or function that I should call?  Or, is there something
>that needs to be initialized?
>P.S.  Thanks, in advance, for all of your help and assistance. 
>
>O      From Now 'Till Then,
>\->    Reginald Alex Mullin
>/\      More Questions than Answers
>
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the postmaster at [EMAIL PROTECTED]
>
>
>www.sothebys.com
>**********************************************************************
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to