Re: [PHP-DB] Prevent global usage of last MySQL-Connection?!

[email protected] (Chris)
Newsgroups php.db
Message-ID <[email protected]>
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.