PHP help...
What is the difference between mysql_connect() and mysql_pconnect() in PHP?
SBalan Group
http://www.sbalanprojects.com/
What is the difference between mysql_connect() and mysql_pconnect() in PHP?
SBalan Group
http://www.sbalanprojects.com/
Busy posted this at 10:45 — 1st July 2006.
He has: 6,151 posts
Joined: May 2001
basically
mysql_connect -- Open a connection to a MySQL Server
mysql_pconnect -- Open a persistent connection to a MySQL server
construction posted this at 11:11 — 1st July 2006.
They have: 111 posts
Joined: Jun 2006
Thanks Busy.
SBalan Group
http://www.sbalanprojects.com/
Busy posted this at 22:46 — 1st July 2006.
He has: 6,151 posts
Joined: May 2001
I forgot to add a lot of web hosts are not allowing mysql_pconnect anymore, was used a lot in free forums etc and can be a security risk and resource hog
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.