Sending Login/Pwd through Shared SSL to PHP/MySQL
- From: "www.gerardvignes.com" <gerardvignes@xxxxxxxxx>
- Date: 30 Dec 2006 01:36:20 -0800
I'm adding secure login to a PHP 3 web application on Linux/Apache. I
can't afford my own SSL certificate, so I'm using the shared SSL
provided by my web hosting company.
I tried this back in 2001, and I remember running into a snag. I was
able to get the login/pwd to the PHP script on the web server, via the
shared SSL connection with no problems. I was also able to connect my
script to the database using a regular connection. When I put the two
partial solutions together, it wouldn't work. Going though the shared
SSL connection, I lost whatever permissions I needed to connect to the
MySQL database. I kept getting errors about not being able to
(something) the MySQL server. I couldn't get any help from my hosting
company at the time (a freebie), so I ended up using a less-secure
login :-P
Has anyone else run into this or a similar problem? If so, how did you
get around it (or did you get around it)?
Thanks,
Gerard Vignes
http://www.GerardVignes.com
Seattle, WA
.
- Prev by Date: Re: How to build a web application the right way
- Next by Date: fopen url with using post variable
- Previous by thread: ordering mysql request by part of a key
- Next by thread: fopen url with using post variable
- Index(es):