Just as I thought :(

Thanks Richard.

-afan

Richard Davey wrote:

Hello afan,

Thursday, June 9, 2005, 7:07:26 PM, you wrote:

aan> I have an admin area for one page on shared hosting. And I wanted to
aan> protect it by shared SSL from my hosting company. I got from them

aan> Your domain, afan.net, can now access our shared SSL certificate.
aan> To securely access the documents folder, go to ...

aan> I'm getting Warning:
aan> *Warning*: mysql_connect(): Can't connect to local MySQL server through

Sounds to me like their SSL server is a different box to their web
server. This isn't uncommon practise and would explain a MySQL connect
error. MySQL doesn't care less if you're the PHP script was accessed
via HTTP or HTTPS.

You ought to call their tech support department to be honest.

Best regards,

Richard Davey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to