Thanks.. I feel stupid, I wasn't paying attention. *sigh* seems to work
now :)

        Bryan

On Fri, 7 Mar 2003, Adrian Ciutureanu wrote:

|you close the input file in while loop ( fclose($fp); )
|
|"Bryan Koschmann - Gkt" <[EMAIL PROTECTED]> wrote in message
|news:[EMAIL PROTECTED]
|> Can someone give me a hand here? I am really lost as to what is
|going on.
|> I have a file that looks like this
|>
|> user1,Store 1 - ABC street
|> user2,Store 2 - Northside
|> user3,Store 3 - East
|>
|> I try to run my code, but I get a php log filled (~33 megs, the
|input file
|> is only 12 lines):
|>
|> [06-Mar-2003 15:22:53] PHP Warning:  feof(): 1 is not a valid
|File-Handle
|> resource in /home/perf/create_prefs.php on line 7
|> [06-Mar-2003 15:22:53] PHP Warning:  fgets(): 1 is not a valid


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to