Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links
| From: | Stanislav Malyshev | Date: | Tue, 27 Jun 2000 11:27:00 +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-22456@lists.php.net to get a copy of this message | ||
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.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665