include_once
| From: | Hardy Merrill | Date: | Wed, 28 Feb 2001 15:37:18 +0000 |
| Subject: | include_once | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42015@lists.php.net to get a copy of this message | ||
Redhat 6.1 Linux
PHP 4.0.4pl1
Apache 1.3.14
Anyone using "include_once"? I'm executing a PHP script "A.php"
by referring to it in my Netscape browser URL - script A.php does
an include_once of "B.php" - B.php contains a database connect
function that does a connect to an Oracle database.
I purposely brought down the Oracle database to force a connect
error. I have an "error_log" statement in the connect failure
that prints to our webserver error log - the connect error was
reported fine. ***THEN, I added more text to the error_log
output for that connect failure, but the new text is *NOT*
appearing in any subsequent connect failures.
Why won't my new text appear in the error? I've tried changing
the "include_once" to "include", and the same thing happened.
I even tried restarting the webserver, but it had no affect.
This is driving me nuts! Help please.
TIA.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com