On Wed, November 2, 2005 2:20 pm, John Nichel wrote:
> There has to be a way to do thisreset the internal STDIN pointer
> to
> the begining but I'll be damned if I can find it.
>
> reset ( STDIN );
>
> returns an error.
No can do.
It's a stream, not a file.
You can't step in the same stream
On Wed, 2 Nov 2005, John Nichel wrote:
There has to be a way to do thisreset the internal STDIN pointer to the
begining but I'll be damned if I can find it.
reset ( STDIN );
returns an error.
You can use rewind() on an fopen()'d php://stdin.
--
Greg Donald
Zend Certified Engineer
MyS
There has to be a way to do thisreset the internal STDIN pointer to
the begining but I'll be damned if I can find it.
reset ( STDIN );
returns an error.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailin
3 matches
Mail list logo