Re: [PHP] Checking the Version of mySql and settings on server

2005-02-13 Thread Burhan Khalid
Marek Kilimajer wrote: GH wrote: However, this does not tell you if they are using the Old or New Password on the newer version... how can i check that? If you can connect with mysql_connect(), its using the old password switch. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Checking the Version of mySql and settings on server

2005-02-11 Thread Marek Kilimajer
GH wrote: Is it possible to check via php what version of mysql is running and if it is a 4.1.x or better version to see if it is using the --old-password switch or not? I would like to know so that I can code both ways and just have a conditional statement direct which code is used... hmm,

Re: [PHP] Checking the Version of mySql and settings on server

2005-02-11 Thread GH
However, this does not tell you if they are using the Old or New Password on the newer version... how can i check that? On Fri, 11 Feb 2005 21:01:02 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Is it possible to check via php what version of mysql is running and if it is a

Re: [PHP] Checking the Version of mySql and settings on server

2005-02-11 Thread Marek Kilimajer
GH wrote: However, this does not tell you if they are using the Old or New Password on the newer version... how can i check that? On Fri, 11 Feb 2005 21:01:02 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Is it possible to check via php what version of mysql is running and if it is a