Re: include bug in 5.3
| From: | Rasmus Lerdorf | Date: | Tue, 12 Aug 2008 07:56:48 +0000 |
| Subject: | Re: include bug in 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39862@lists.php.net to get a copy of this message | ||
That will work fine.Does this change affect code like: include "../file.php";
I was thinking along the same line. I bet some people have been lazy and used __FILE__. "/../../foobar.php".That will not work. And that is moronic code anyway. Why wouldn't they use __DIR__ there? -Rasmus