Forum Moderators: coopster
$db = mysql_connect("just-an-example.com","test","test");
mysql_select_db("test",$db);
And then run whatever SQL statements I want. But, I would like the information I transmit (i.e. the data in the sql statement) to be secure from client to host.
Any thoughts on how to accomplish this?
The piece you want is the int client_flags: you will want to use CLIENT_SSL.
This is documented on mysql.com under section 8.1.3.175 - mysql_real_connect() (www.mysql.com/doc/en/mysql_real_connect.html)
Scott