Re: include_once
| From: | Hardy Merrill | Date: | Wed, 28 Feb 2001 15:57:38 +0000 |
| Subject: | Re: include_once | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42021@lists.php.net to get a copy of this message | ||
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 [merrill@missioncriticallinux.com] 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com