|
Posted by Gordon Burditt on 10/23/05 20:44
>Both the database and the server are hosted, if that is the right term.
> So I'm not sure what to make of it.
So what argument do you pass to mysql_connect() or mysqli_connect()
for the host name of the database? "localhost"? If so, they're
on the same server. If not, and it's a host name, do the web server
and the database server have IP addresses in the same class C?
(first 3 octets the same)? If so, they may well be on the same
LAN, which is a lot safer than having it go across the Internet.
In any case, with a hosted setup, you're stuck trusting the
administration of either the web server or the database server. If
they steal credit card numbers from your site, you're stuck, and
there's not much you can do but find another host.
Gordon L. Burditt
Navigation:
[Reply to this message]
|