You can goto like whatsmyip.com (or something similar) to get your ip and
connect to it unless there's a proxy or something...
http://www.liero-masters.host.sk/ip.php is another place, that I use as it
only displays the IP, and nothing else... :p

However, connecting to the domainname should work... So, check the
settings...
-- 
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Pag" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> Heres the problem. I have one of my client's site hosted on a crappy
> server, and i have it running with php+mysql ok, the thing is i need to
> connect to that site's mysql's database from a different site to get data.
> The problem is that on the origin site (the crappy server), to connect to
> the database, i use "localhost". How can i find out the real server to
> connect to from the other site? I tried using the whole domain, like
> www.crappyserver.com, but doesnt work. :-P
> Thanks.
>
> Pag

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

Reply via email to