Hi there
Here's a puzzle..
On Win2k with PHP 4.3.4 and Apache 2.0.48 if I have:
and then perform the error handling to output my custom error I get:
But if I do the same thing on RedHat Linux with PHP 4.3.5 and Apache 2.0.48 the output is just:
I do not get "some text" output.
I've looked at php.net's info on trigger_error() but cannot see anything that jumps out of me that says "gotcha".
Has anyone seen something like this or could give me a hint as to where I should look for the cause of this?
Ta as always!
-Colin
Here's a puzzle..
On Win2k with PHP 4.3.4 and Apache 2.0.48 if I have:
Code:
echo "some text<br />";
trigger_error();
and then perform the error handling to output my custom error I get:
some text
my error text
But if I do the same thing on RedHat Linux with PHP 4.3.5 and Apache 2.0.48 the output is just:
my error text
I do not get "some text" output.
I've looked at php.net's info on trigger_error() but cannot see anything that jumps out of me that says "gotcha".
Has anyone seen something like this or could give me a hint as to where I should look for the cause of this?
Ta as always!
-Colin