PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1845
Number of posts: 5013

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
show error messages Posted by Homerun31 on 26 Mar 2004 at 9:17 PM
My host doesnt have the show error messages set and when i asked them if they could change it, they said no. is there a way to show the php errors on the page with a code?

thanks
Report
Re: show error messages Posted by Manning on 26 Mar 2004 at 9:24 PM
: My host doesnt have the show error messages set and when i asked them if they could change it, they said no. is there a way to show the php errors on the page with a code?

I'm not sure, but a fairly simple solution would probably be just to set up a web server with PHP installed on your local machine. So you can test locally with errors enabled, and then upload to your host once it's working.
Report
Re: show error messages Posted by Souldrinker on 10 Aug 2004 at 1:40 AM
: My host doesnt have the show error messages set and when i asked them if they could change it, they said no. is there a way to show the php errors on the page with a code?
:
: thanks
:

What hoster are you at? Stupid... just see here: http://de3.php.net/manual/de/function.set-error-handler.php

add the sample code, to your script. This will override the php internal error handler, and add the sample error handler, which display all errors and warnings ;)




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.