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

From: Date: Thu, 15 Jan 2004 03:58:58 +0000
Subject: Re: Can I use PHP with SSL to connect to mySQL?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32400@lists.php.net to get a copy of this message
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

« previous php.db (#32400) next »