what is "mysql_pconnect", i know mysql_connect but what it
is pconnect is their?
Answers were Sorted based on User's Feedback
Answer / raman
mysql_pconnect means, persistent connection with mysql. It
doesn't break the connection even after closing the page.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / deepaa.n
mysql_pconnect() opens a persistent mysql connection.
It returns the connection on success or failure. It mostly same as mysql_connect(), but it has 2 major differnts. that are
mysql_pconnect() will try to find a connection that's already open, with the same host, username and password. If one is found, this will be returned instead of opening a new connection
It will not be closed when the execution of the script ends . It will stay open for future use.
Is This Answer Correct ? | 1 Yes | 0 No |
What is varchar mysql?
What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?
i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....
Shopping cart online validation i.e. how can we configure Paypal, etc.?
How to support multiple-page forms?
What is cookies php?
Would you initialize your strings with single quotes or double quotes?
How can you declare the array in php?
Explain object-oriented methodology in php?
What is the difference between $message and $$message in php?
How cookies are transported from servers to browsers?
How to get a random value from a php array?