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