note 48585 rejected from function.include-once by nlopess
| From: | nlopess@php.net | Date: | Fri, 31 Dec 2004 11:27:16 +0000 |
| Subject: | note 48585 rejected from function.include-once by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82497@lists.php.net to get a copy of this message | ||
Note Submitter: brainmastering at gmail dot com
----
After the server (which hosts a forum that I'm administrating) upgraded to php 4.3.10 I had to
solve a few problems and it seems to me that include_once is working in a somewhat diferent way. if
you use include_once on the files named "./xpto.php" and "././xpto.php" it will
in fact include the file twice thus creating some redefinition problems. I don't know if this
should this be considered a bug or a feature. Anyways just watch out for this if your php programs
just stopped working.