Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Error reporting in a PHP script
Old 12-20-2010, 07:48 AM Error reporting in a PHP script
joe12joe's Avatar
Banned

Posts: 12
Name: Joe
Location: Houston
Trades: 0
How to enable error reporting in a PHP script?
joe12joe is offline
Reply With Quote
View Public Profile Visit joe12joe's homepage!
 
 
Register now for full access!
Old 12-20-2010, 07:52 AM Re: Error reporting in a PHP script
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://php.net/manual/en/errorfunc.configuration.php

http://php.net/manual/en/function.error-reporting.php
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-20-2010, 09:10 AM Re: Error reporting in a PHP script
Junior Talker

Posts: 2
Trades: 0
You can try error reporting in the php.ini file, which will be applied universally to all Scripts.

For a single script you can try this kind of modification:
Quote:
<?php
ini_set('error_reporting', E_ALL | E_STRICT);
ini_set('display_errors', 'On');
?>
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
ajaykumarmeher is offline
Reply With Quote
View Public Profile
 
Old 12-21-2010, 04:26 AM Re: Error reporting in a PHP script
joe12joe's Avatar
Banned

Posts: 12
Name: Joe
Location: Houston
Trades: 0
thanks for your help guys I appreciate it.
joe12joe is offline
Reply With Quote
View Public Profile Visit joe12joe's homepage!
 
Reply     « Reply to Error reporting in a PHP script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12928 seconds with 12 queries