You are here: Re: Using OpenSSL and MySQL « All PHP « IT news, forums, messages
Re: Using OpenSSL and MySQL

Posted by Drakazz on 05/18/06 09:34

Very sorry,

use MYSQL_CLIENT_SSL for configuring the connection.

As the php.net/mysql_connect documents:

resource mysql_connect ( [string server [, string username [, string
password [, bool new_link [, int client_flags]]]]] )

So you'd do something like this:
mysql_connect('my.server.com','username','password',true,
MYSQL_CLIENT_SSL);
Not sure if it'll work as there are no examples, but have a go!
Good Luck!
Regards

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация