Re: [PHP] Re: Reset STDIN pointer

2005-11-02 Thread Curt Zirzow
On Thu, 03 Nov 2005 19:51:05 +1300, Jasper Bryant-Greene wrote: > On Wed, 2005-11-02 at 21:58 +, Curt Zirzow wrote: >> On Wed, 02 Nov 2005 15:20:46 -0500, 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

Re: [PHP] Re: Reset STDIN pointer

2005-11-02 Thread Jasper Bryant-Greene
On Wed, 2005-11-02 at 21:58 +, Curt Zirzow wrote: > On Wed, 02 Nov 2005 15:20:46 -0500, 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. >

Re: [PHP] Re: Reset STDIN pointer

2005-11-02 Thread Curt Zirzow
On Wed, 02 Nov 2005 23:22:24 -0600, Greg Donald wrote: > On Wed, 2005-11-02 at 21:58 +, Curt Zirzow wrote: >> The internal STDIN pointer? there is no such thing by the name of STDIN >> in php. > > Sure there is, php://stdin. > http://php.net/manual/en/wrappers.php.php My point in context was

Re: [PHP] Re: Reset STDIN pointer

2005-11-02 Thread Greg Donald
On Wed, 2005-11-02 at 21:58 +, Curt Zirzow wrote: > The internal STDIN pointer? there is no such thing by the name of STDIN in > php. Sure there is, php://stdin. http://php.net/manual/en/wrappers.php.php > According to http://php.net/reset it epxects an array not a file handle, > so the error