note 89529 added to function.mysql-pconnect
| From: | adrian at softwareprojects dot com | Date: | Thu, 12 Mar 2009 14:03:01 +0000 |
| Subject: | note 89529 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151776@lists.php.net to get a copy of this message | ||
Never ever use mysql_pconnect.
I cannot think of a single scenario where this function will be useful.
It is simply too risky to use.
Especially if you're using Apache2 or Nginx and spawning php processes:
http://softwareprojects.com/resources/programming/t-nginx-1751.html
----
Server IP: 212.199.163.191
Probable Submitter: 84.109.123.23
----
Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php
Edit -- https://master.php.net/note/edit/89529
Del: integrated -- https://master.php.net/note/delete/89529/integrated
Del: useless -- https://master.php.net/note/delete/89529/useless
Del: bad code -- https://master.php.net/note/delete/89529/bad+code
Del: spam -- https://master.php.net/note/delete/89529/spam
Del: non-english -- https://master.php.net/note/delete/89529/non-english
Del: in docs -- https://master.php.net/note/delete/89529/in+docs
Del: other reasons-- https://master.php.net/note/delete/89529
Reject -- https://master.php.net/note/reject/89529
Search -- https://master.php.net/manage/user-notes.php