Re: SSL, PHP, & MySQL
| From: | Joshua Minnie | Date: | Sat, 14 Dec 2002 02:07:31 +0000 |
| Subject: | Re: SSL, PHP, & MySQL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128235@lists.php.net to get a copy of this message | ||
What about utilizing an encrypted text file then. Would there be anything
wrong with doing it that way? I really don't have too much of an option as
far as the server specs go because I didn't set up the web hosting.
-Josh
Brad Bonkoski wrote:
> I think you may need to read:
> http://www.php.net/manual/en/function.mysql-connect.php
>
> It appears that the SSL client flag for connecting to MYSQL is not
available
> until 4.3.0, but you can pick up the 4.3.0RC3 version now, and test it
out! I
> _think_ this is what you are looking for.
> HTH
> -Brad
>
> Joshua Minnie wrote:
>
> > Hi all,
> > I was wondering if anyone could direct me to some good tutorials on
how
> > to utilize PHP to access a MySQL database behind SSL. I have been
searching
> > PHPBuilder.com, PHPClasses.org, and hotscripts.com, and I can't seem to
find
> > any good tutorials for a beginner when it comes to SSL. I do have a
fairly
> > good working knowledge of PHP and MySQL so I'm not necessarily looking
for a
> > guide on that, I just need to know how to pass encrypted data back and
> > forth. Here is the scenario:
> >
> > My client has a website in which a customer will be purchasing gift
> > certificates online. They don't need a comprehensive e-commerce
package,
> > just simple information passed across a secure connection, such as: user
> > names, passwords, credit cards and mailing addresses. We already have a
> > MySQL db set up with the gift certificate "package" information. I just
> > need to be able to store the customer information for retrieval later by
the
> > owners of the site.
> >
> > Joshua Minnie
> > josh@wildwebtech.com
> > Independent Web Consultant / Developer
> > Wild Web Technology
> > www.wildwebtech.com
> >
> > ------------------------------------------------------
> > Server Information:
> > + PHP v. 4.2.3
> > + Apache 1.3.26
> > + MySQL 3.23.53
> > ------------------------------------------------------