Solved - I was changing a copy of the code that the webserver
was NOT looking at. "include_once" works fine.
Appologies.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Hardy Merrill [[EMAIL PROTECTED]] wrote:
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]