Thread: EOF Detection
View Single Post
Old May 10th, 2006, 7:22 PM   #1
bmad6
Newbie
 
Join Date: Nov 2005
Posts: 13
Rep Power: 0 bmad6 is on a distinguished road
Question EOF Detection

I have this script to read one line at a time out of an online file (fopen, then fgets), but it can't detect the end of the file yet. How do i do this? if(fgets($file)) or something?

Thank you for your help...
bmad6 is offline   Reply With Quote