Geekpedia Programming Tutorials






How to have PHP show the errors within the current script

On Friday, February 29th 2008 at 09:49 PM
By Andrew Pociu (View Profile)
-----   (Rated 0 with 0 votes)
Advertisement
More PHP Resources

Before the PHP code starts, add the following lines:

error_reporting(E_ALL);
ini_set('display_errors', '1');


These two lines set script-wide variables that will allow the errors in your current script to output to screen.

Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this Knowledge Base article
Comment Current Comments
There are no comments.

Comment Comment on this Knowledge Base article
Name: Email:
Message:
Knowledge Base Related Knowledge Base Articles

How do I change the timeout limit for my PHP code?

On Sunday, November 11th 2007 at 12:51 AM by Andrew Pociu in PHP


Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs PHP Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons