Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links

From: Date: Tue, 27 Jun 2000 12:06:51 +0000
Subject: Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22459@lists.php.net to get a copy of this message
Stanislav Malyshev wrote: > > KM>> Do you mean that even in thread-safe environment require/include will > KM>> work as in PHP3? > > it should. > > KM>> Well, but as I understand require/include don't require chdir() > KM>> operation? > KM>> Or I'm wrong? > > It does sort of chdir - because all pathes inside script refer to script > placement. > > KM>> Just a silly question - when do I need thread-safety? > > When your server uses threads. IIS does. Some Unix servers (Roxen?) do. > > KM>> Surely, I want my PHP code to work in both environments, > KM>> thread safe and unsafe. And I want it to work in PHP3/4. > > You shouldn't care for this. 4.0.1 should be able to choose the right way. OK, i'm ready to close my #5167 (current CVS works for me). But I don't have ability to do it. Thank you for your efforts and comments, Best regards, KIR

« previous php.dev (#22459) next »