You are here: Re: Undefined Index notices « PHP Programming Language « IT news, forums, messages
Re: Undefined Index notices

Posted by Markus Ernst on 10/07/68 11:50

Cal Lidderdale schrieb:
> As an aside - Why da flip did someone decide that the "Notice" needed to
> be spit out is beyond me.

This is actually a service for you. Imagine writing an application with
some 1000s of lines of code, and at the end you just get a blank page -
I bet you would be quick in blaming PHP for letting you stand in the rain.

> And shouldn't (is) there be a way to say "Shhhhhhhh" IE "<?php -quite"

If parameters are are optional it is quite easy to code:
$thing = isset($_POST['anything']) ? $_POST['anything'] : false;

If you prefer it the dirty way you can disable any level of error
reporting: www.php.net/error_reporting.

Good luck
Markus

 

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

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