Re: finding out localhost :-P

From: Date: Sun, 24 Aug 2003 10:45:36 +0000
Subject: Re: finding out localhost :-P
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-160575@lists.php.net to get a copy of this message
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: dvdmandt@hotmail.com Mail: dvdmandt@telia.com "Pag" <dante@mail.telepac.pt> skrev i meddelandet news:5.2.0.9.2.20030824045649.00b4ca38@mail.telepac.pt... > > 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

« previous php.general (#160575) next »