Re: Prevent global usage of last MySQL-Connection?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I recognized the problem is: if no specific resource is given in
mysql_connect() the function uses automatically the last connection.

SO MY QUESTION IS NOW: HOW TO PREVENT THIS?

You can't unless you want to modify the php source code (written in C) and then you're stuck running a modified version everywhere - which is no good if you're going to share your code (run on multiple servers, or run on other peoples servers).

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux