Miguel J. Jiménez wrote:
Hi. I have been asked to try to catch the php error generated when the
PHP script exceed execution time, but I do not know if that can be
done... Any ideas? Mainly I want to show a custimized error page instead
of that error (kind of "Sorry but we are busy right now" or
Hi. I have been asked to try to catch the php error generated when the
PHP script exceed execution time, but I do not know if that can be
done... Any ideas? Mainly I want to show a custimized error page instead
of that error (kind of "Sorry but we are busy right now" or something
similar)
Than
Error handlers? Plus, you can set up PHP to log errors to a file in
'php.ini'...
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP error catching
What are those php functions
>[re-snip]
>I can't remember what I did 6 to 8 months ago.
>[/re-snip]
>/* commenting is your friend */
I definitely agree with you on that...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
error_reporting( E_NONE )?
Jon
Scott Fletcher wrote:
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php error
[snip]
Close, but still not quite it. I can't remember what I did 6 to 8
months
ago. I do remember that it was written to temporary suppress the php
error
while the other part of the php script can be allow to execute before
unsupressing the php error. I do not meant the "@" part.. It was a
fun
* Thus wrote Scott Fletcher:
> Close, but still not quite it. I can't remember what I did 6 to 8 months
> ago. I do remember that it was written to temporary suppress the php error
> while the other part of the php script can be allow to execute before
> unsupressing the php error. I do not mean
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php error. I do not meant the "@" part.. It was a
function w
On Tuesday 20 July 2004 22:48, Scott Fletcher wrote:
> What are those php functions that catch the PHP errors, not display it and
> do something to it while the user load a webpage. I don't remember what
> those are. :-(
manual > Error Handling and Logging Functions
--
Jason Wong -> Greml
* Thus wrote Scott Fletcher:
> What are those php functions that catch the PHP errors, not display it and
> do something to it while the user load a webpage. I don't remember what
> those are. :-(
It sounds like you're looking for http://php.net/set_error_handler
Curt
--
First, let me a
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What are those php functions that catch the PHP errors, not display it and
> do something to it while the user load a webpage. I don't remember what
> those are. :-(
>
> FletchSOD
You can write your own error han
> What are those php functions that catch the PHP errors, not display it and
> do something to it while the user load a webpage. I don't remember what
> those are. :-(
Look around set_error_handler()
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote James Johnson ([EMAIL PROTECTED]):
> Hello,
>
> Is there a way, on a hosted server, to prevent PHP errors from showing in a
> browser? Instead of "error whatever at line 107 in filename.php" to have it
> redirect to a "Sorry, please report this error page"
See:
set_error_handler();
--- James Johnson <[EMAIL PROTECTED]> wrote:
> Is there a way, on a hosted server, to prevent PHP errors from
> showing in a browser?
I am assuming you are asking how to change php.ini directives, since you
probably don't have access.
On most shared hosts, they are configured to use a .htaccess f
Hello,
Is there a way, on a hosted server, to prevent PHP errors from showing in a
browser? Instead of "error whatever at line 107 in filename.php" to have it
redirect to a "Sorry, please report this error page"
Thanks,
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
: <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 4:00 PM
Subject: [PHP] error-catching
> Hi!
>
> When I open a database connection and i. e. the db-server is down,
> I get a very long, long error message telling me that the server is down.
>
> What I want to do is just echo
17 matches
Mail list logo