On Wednesday 18 August 2004 10:26, Labunski wrote:
> Hi,
>
> > note the "2" in that message. You are prob. resetting the readdir()
>
> parameter in the script somewhere
> No, as far as I can see, I'm not resetting the readdir().. but..
>
> > You loop twice throu the same dir?
>
> Yes I do.

Why? I don't understand your logic. Remove the outer while-loop, note that it 
encloses most of the code including the line:

  closedir($handle);

So on the second iteration of the outer while-loop $handle is gone and hence 
your error message.

-- 
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
------------------------------------------
/*
Pure drivel tends to drive ordinary drivel off the TV screen.
*/

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

Reply via email to