hmm.. on second thought... * Thus wrote Robert Cummings ([EMAIL PROTECTED]): > [...] > if( ($char = fread( $stdin, 1 )) !== false )
How are you calling this script? I'm not sure how cgi will handle fread <stdin> With a traditional CGI script <stdin> is what is read on POST data from a form, and php takes care of this. That is where my confusion is now. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php