|
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]
|