Reply to Re: [PHP] error display problem

Your name:

Reply:


Posted by Jason Wong on 05/14/05 06:35

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация