don't show error messages. how?

Поиск
Список
Период
Сортировка
От Jules Alberts
Тема don't show error messages. how?
Дата
Msg-id 200204191415.g3JEF6Qw013165@artemis.cuci.nl
обсуждение исходный текст
Ответы Re: don't show error messages. how?  (Chadwick Rolfs <cmr@shell.gis.net>)
Список pgsql-php
hello everybody,

i'm creating a little login screen to connect from PHP to postgresel
7.2 with adodb. the key part it looks like this:

    include_once('adodb/adodb.inc.php');
    $c=ADONewConnection('postgres7');
    if ($c->PConnect('myserver',$id,$pwd,'mydb')) {
        youreCool();
    } else {
        tryAgain();
    }

this works OK, only when login fails (incorrect user ID, password), i
just want tryAgain() to run, without any errormessages. that's the
problem, PConnect() will give an errormessage if it fails, it generates
html like

    your connection has failed blah blah
    user ID  ___________
    password ___________

how can i suppress the message? with adodb? from within PHP?

TIA for any pointers / help

--
Jules Alberts

В списке pgsql-php по дате отправления:

Предыдущее
От: "Dave"
Дата:
Сообщение: Security - local(TRUST) and php/perl access
Следующее
От: Timothy_maguire@hartehanks.com
Дата:
Сообщение: Re: don't show error messages. how?