note 83846 added to function.mysql-pconnect
| From: | alveuz at example dot com | Date: | Sat, 14 Jun 2008 23:50:56 +0000 |
| Subject: | note 83846 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140446@lists.php.net to get a copy of this message | ||
Which should be the right way for handling a warning message when trying to connect and the user/
password isn't an user registered?
I don't like the idea of suppressing and dont like the idea of "or die ("establishing
connection failed");". I tried to handle the warning (try {} catch (Exception $e){}) but
yet cannot manage the Warning.
Thanks in advance
----
Server IP: 69.147.83.197
Probable Submitter: 189.152.97.47
----
Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php
Edit -- https://master.php.net/note/edit/83846
Del: integrated -- https://master.php.net/note/delete/83846/integrated
Del: useless -- https://master.php.net/note/delete/83846/useless
Del: bad code -- https://master.php.net/note/delete/83846/bad+code
Del: spam -- https://master.php.net/note/delete/83846/spam
Del: non-english -- https://master.php.net/note/delete/83846/non-english
Del: in docs -- https://master.php.net/note/delete/83846/in+docs
Del: other reasons-- https://master.php.net/note/delete/83846
Reject -- https://master.php.net/note/reject/83846
Search -- https://master.php.net/manage/user-notes.php