On Wed, November 2, 2005 2:20 pm, 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. No can do. It's a stream, not a file. You can't step in the same stream twice. :-) Buffer it yourself, and read from your buffer. If ANYTHING was going to work, it would be fseek(STDIN, 0); but I'll bet it ain't gonna work. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php