Re: feof() problem
| From: | Jason Wong | Date: | Tue, 22 Jul 2003 09:03:52 +0000 |
| Subject: | Re: feof() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156196@lists.php.net to get a copy of this message | ||
On Tuesday 22 July 2003 14:44, chandrakant Reddy wrote:
[snip]
> The output that I am getting :
>
>
> File is valid, and was successfully uploaded. Here's
> some more debugging info:
> Array
> (
> [userfile] => Array
> (
> [name] => filename.txt
> [type] => text/plain
> [tmp_name] => /tmp/phpq8YmxN
> [error] => 0
> [size] => 466
> ) )
> file opened in read mode line =
> line =
> line =
> # 90 lines then it is printing
>
> line = someproblem
> # ten lines
>
>
> My question is why it is going into infite loop ,what
> is problem with the above code.
Could you explain what you mean by infi[ni]te loop? How is it manifesting
itself? Is it printing the above non-stop?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
It is much harder to find a job than to keep one.
*/