[PHPLIB] Re: can't seek recursively with tree.inc From: admin (admin <email protected>)
Date: 12/27/99

I seem to have found a way to make it work, though I'm not sure it solves
the problem. I think there's missing an exclamation mark in the
documentation. In the recurs_dir function, the line with isset should look
like:

  if (!isset($flap_out[$pathname])) {

As I said, I'm not sure if this is really the problem, so any confirmation
would still be appreciated.

Marc

> I'm trying to use tree.inc, but I can't seem to seek recursively into
> directories.
>
> I have copied the example from:
> http://phplib.netuse.de/documentation/documentation-5.html#ss5.5
> also, I have downloaded the 7.2 release of phplib. When I run the code, I
> only get the current directory, it seems the recurs_dir function isn't
> going into directories, even though they are chmod 755.
>
> I am not sure what can be the problem, but any assistance would be
> appreciated.
>
> Thanks in advance,
> Marc Tardif
>
>

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.