Further to Sunit Reply Then you need to take a database of ip 2 country which will tell you which IP belongs to which country. You can get this database from http://www.ip2location.com Hope this will solve your problem Regards Raees ----- Original Message ----- From: "Sunit Sinha" <sunitsinha@xxxxxxxxx> To: <php-objects@xxxxxxxxxxxxxxx> Sent: Thursday, March 09, 2006 5:00 PM Subject: Re: How to find IP ? > Hi > > Please use > $ip = $_SERVER['REMOTE_ADDR']; > > to get the ip address of visiors. > > With regards > Sunit > > > --- ashrafzia <ashrafzia@xxxxxxxxx> wrote: > > > Mostly when u visit shopping carts n u checkout n go > > futher for > > payment in the list box your desired country is > > selected automatically > > this is bcoz of they are tracking us by our IP > > Address. > > So which function in PHP is used for find the IP > > Address of a person > > who is visiting my site? > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > PHP Data object relational mapping generator > http://www.metastorage.net/ > Yahoo! Groups Links > > > > > > > > PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/