Re: how to show errors in browser
| From: | Jason Wong | Date: | Wed, 17 Nov 2004 14:22:32 +0000 |
| Subject: | Re: how to show errors in browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202300@lists.php.net to get a copy of this message | ||
On Wednesday 17 November 2004 22:00, Rayan Lahoud wrote:
> Hy, i am opening php files from my browser. If there are some errors in the
> php file i can not see what are the errors in the browser!!!!
Put:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
at the beginning of your page.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
BOFH Excuse #310:
asynchronous inode failure
*/