require bug.
| From: | Yann Doussot | Date: | Wed, 09 Jun 1999 20:27:15 +0000 |
| Subject: | require bug. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1421@lists.php.net to get a copy of this message | ||
Hello
I've noticed a problem with require(). Example
test1.php3:
---------------
Testing
<?
if (1==1) {
require("html.php3");
} else {
require("html.php3");
}:
?>
----------------
html.php3:
----------------
Hello
----------------
(Just a word)
If you call test1.php3, the server returns no datas. It's not an
Apache crash, no errors.
(And don't ask me why I wrote such a stupid script :)
Thanks.
---
Yann Doussot <doussot@gifrance.com>
Grey Interactive - France - http://www.gifrance.com/
Cell: +33 6 12 71 70 03 Work: + 33 1 46 84 85 00