Re: [PHP-DEV] How to find a bug: is_link troubles

2007-05-10 Thread Arnold Daniels
Hi again, Thanks for your reply. I think perhaps I've not been totally clear on my last e-mail. The directory does exist. If this dir or symlink would not exist, the code would have outputted "Couldn't create the link". The fact that is goes well right after the symlink is just created, is in

Re: [PHP-DEV] How to find a bug: is_link troubles

2007-05-03 Thread Tijnema !
On 5/2/07, Arnold Daniels <[EMAIL PROTECTED]> wrote: Hi, I've got a bug with is_link and lstats. Any symlinks not created in the current session, will not be read. This only occurs in the Apache 2 SAPI version, not in the CLI version. Script: \n"; $symlink = '/tmp/link-persist'; if (!f

[PHP-DEV] How to find a bug: is_link troubles

2007-05-02 Thread Arnold Daniels
Hi, I've got a bug with is_link and lstats. Any symlinks not created in the current session, will not be read. This only occurs in the Apache 2 SAPI version, not in the CLI version. Script: / echo (file_exists($symlink) ? is_link($symlink) ? "Correct" : "ERROR" : "Couldn't create the link"