Re: what is the "stdin" in php?
| From: | jeremy brand | Date: | Tue, 21 Nov 2000 02:07:07 +0000 |
| Subject: | Re: what is the "stdin" in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26382@lists.php.net to get a copy of this message | ||
And, at times, I've had php://stdin not work, so you can also use (on
unix) /dev/stdin
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4
On Mon, 20 Nov 2000, Brian Clark wrote:
> Date: Mon, 20 Nov 2000 20:48:23 -0500
> From: Brian Clark <brianj@fusionwerks.com>
> To: forestwater <forestwater@sina.com>
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] what is the "stdin" in php?
>
>
> Hello forestwater,
>
> (f == "forestwater") forestwater@sina.com writes:
>
> f> I want get sth from standard input "the keyboard".
> f> What is the symbol of standard input in php ?
>
> $p = fopen("php://stdin", "r") or die("Can't read stdin\n");
>
> -Brian
> ---
> Some things are better left unfinished, except.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>