Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 24, 2004, 2:22 am
rate this thread
I ran into this problem when i was doing some simple command line script
that takes input from STDIN. And i noticed that feof() always returns
TRUE with STDIN. Also it seems that if i fread(STDIN) and there is
nothing in STDIN, it waits forever for input. So i was wondering if
there is some way to check how much stuff there is in STDIN and then
read it, because i dont want to wait for the input forever.
- » looking for windows mysql/php/webserver combined package
- — Previous thread in » PHP Scripting Forum