You are here: Re: Errors won't show up even with error_reporting(E_ALL) and ini_set("display_errors","1") « PHP Programming Language « IT news, forums, messages
Re: Errors won't show up even with error_reporting(E_ALL) and ini_set("display_errors","1")

Posted by ZeldorBlat on 06/19/07 23:11

On Jun 19, 7:07 pm, mrbog <dterr...@hotmail.com> wrote:
> Here's my code:
>
> <?php
>
> error_reporting(E_ALL);
> ini_set("display_startup_errors","1");
> ini_set("display_errors","1");
>
> wefw
> wefwef=wefwe
> 2349023909()
> ;wrgwrg ====232
>
> phpinfo(); ?>
>
> I get a blank page.
>
> If I take out the crap, it prints phpinfo() just fine.
>
> PHP 4.3.something...

You have a syntax error, so the script can't even be parsed. If it
can't be parsed it can't be executed, so your error_reporting() and
ini_set() commands aren't even being run.

If you set those in php.ini (which is read before the script is
parsed) you should see the error.

 

Navigation:

[Reply to this 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

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