On Wed, 2005-11-02 at 21:58 +0000, Curt Zirzow wrote:
> On Wed, 02 Nov 2005 15:20:46 -0500, John Nichel wrote:
> 
> > There has to be a way to do this....reset the internal STDIN pointer to
> > the begining but I'll be damned if I can find it.
> > 
> > reset ( STDIN );
> > 
> > returns an error.
> 
> The internal STDIN pointer? there is no such thing by the name of STDIN in
> php.

Yes there is, when running in CLI mode. See:

http://php.net/features.commandline#AEN7906

-- 
Jasper Bryant-Greene
General Manager
Album Limited

e: [EMAIL PROTECTED]
w: http://www.album.co.nz/
b: http://jbg.name/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to