Re: Can I use PHP with SSL to connect to mySQL?

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

 



Daevid Vincent wrote:
I see that mySQL has SSL support:
http://www.mysql.com/doc/en/Secure_connections.html

And PHP has some SSL support, but do the mysql() functions work
transparently with SSL? It seems there would have to be a flag for this
mysql_connect() that turned on SSL.
http://us4.php.net/manual/en/function.mysql-connect.php

I think PHP5 will offer this option. The last parameter of mysql_connect() is a flag for certain options. One of them is a flag to connect with SSL. It used to be listed in the manual, but it was removed. You could also check out the mysqli extension.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.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