You are here: Re: PHP/SQL forum « PHP Programming Language « IT news, forums, messages
Re: PHP/SQL forum

Posted by Jerry Stuckle on 10/25/06 10:51

Pedro Graca wrote:
> Edo wrote:
>
>>I will try to program php/sql forum for the software engineering project at
>>University.
>>Can you tell me something useful about programming such thing as a forum, or
>>give me some tips how to start, design patterns, links, source codes,
>>books...? Anything will help...
>
>
> Use
>
> error_reporting(E_ALL);
> ini_set('display_errors', '1');
>
> at the very top of *all* your scripts, right after the first <?php tag.
> When the script produces no warnings or notices, you won't even need to
> remove those lines :)
>

You should NEVER leave these lines in on a production server. Should
something untoward happen (i.e. database crash), the error messages can
easily expose information you don't wish to be public.

Additionally, I can always tell a sloppy programmer when I get default
messages like this. Good programmers detect and handle errors,
providing meaningful messages to users.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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