On Wed, 2005-11-02 at 21:58 +0000, 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 would be expected. > > I might be wrong but stdin is not seekable so i doubt it is even possble > to put the file handle back to the beginning. A file handle to php://stdin can be created with fopen(). http://php.net/manual/en/function.fopen.php rewind() works on file handles. http://php.net/manual/en/function.rewind.php -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php