finding out localhost :-P
| From: | Pag | Date: | Sun, 24 Aug 2003 04:00:13 +0000 |
| Subject: | finding out localhost :-P | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160564@lists.php.net to get a copy of this message | ||
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