You are here: Re: error-logs() bug ?? « PHP Programming Language « IT news, forums, messages
Re: error-logs() bug ??

Posted by Willem Bogaerts on 06/26/07 14:16

> $id_tmp = $_REQUEST["id"];

This fails if there is no index "id", that is, if there is no id field sent.

> if(!isset($id_tmp) && empty($id_tmp)){
> invalidArgs();
> echo "buug";
> }

This part will not be reached, because the code fails before this block.

> ..., the page that suppose to is
> showing but in file where errors are written (by error_logs), are
> appeared errors of InvalidArgsException ?? That's really weird
> because the script doesn't suppose to get into if-block and start
> function invalidArgs().

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

 

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

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