Re: error display problem

From: Date: Sat, 14 May 2005 03:35:23 +0000
Subject: Re: error display problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-215199@lists.php.net to get a copy of this message
On Saturday 14 May 2005 09:49, hima wrote: > can any one plesae help me as I am a learner. I am > working on a Mac OS x machine and I want to see the > errors displayed to the browser. I had changed > display_errors option On in > the php.ini file but still cannot see them displayed. Did you restart the webserver? > Any pointers as how to display errors to browser while > working on Mac machine, really appreciated. Anyway, putting the following at the beginning of your code will allow you to see all errors regardless of the server setting: error_reporting(E_ALL); ini_set('display_errors', TRUE); -- 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 ------------------------------------------ New Year Resolution: Ignore top posted posts

« previous php.general (#215199) next »