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

Posted by Cal Lidderdale on 11/18/52 11:50

Markus Ernst wrote:
> 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:

$list = array (name, address, phone);
foreach ($list as $item) {
$$item = isset($_GET["$item"]) ? $_GET["$item"] : false;
}

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

Thanks, old dog learn new trick :-D see above

( I tried to find a animated gif of a sweeping bow - ya know, sometimes
the internet stinks - How to tie a sweeping bow - No a bow not a bow. ) :-/

 

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

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