Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
wiredsc1 #1
Detecting user country
I am creating a page for a shop and there is a UK shop and an International
shop. I have created both pages, each page has a link to the other as back up
however I was wondering how would I go about getting the page to detect the
users location so as to direct them to the relevant page UK/International.
Thanks
wiredsc1 Guest
-
Detecting when a user leaves a page
Hello, I need (I think) to find a way of detecting when a user leaves a web-page; by hitting a link or the Back button, by typing into the... -
Country of user
Hi, Is that possible to understand which country is the user from his or her GSM operator in smartphones with .NET Compact Framework? Any help... -
Module for Country/Country Codes Lists
Hi! My name is Shlomi Fish and I am a co-developer of the WWW::Form module: http://search.cpan.org/~bschmau/WWW-Form-1.13/ Benjamin Schmaus... -
Country
How can I view visitors country using php/apache? -
how to get the country ?
from the IP of the request ? -
jasan3114 #2
Re: Detecting user country
I take it that if you're creating a shopping cart site, you would be working
with a database using asp,/php/ coldfusion etc. If thats the case, all you need
to do is download the IP to country database, use CGI.remote_addr to determine
the IP address of the viewer, compare it with the database, so you know whether
the viewer is from UK or not and accordingly put in a conditional statement
that directs the viewer t othe correct page. You would need to update the IP to
country database periodically and if you search, you'll find lots of sites
giving the database for free.
Incase you're not using a database, there are third party sites which do the
work above for you and redirect your customer where you need to send them.
Would be likely a paid service or they'll want to put in some advertisements. I
did a search and found one such site
[url]http://www.geobytes.com/GeoDirection.htm[/url]
I am sure there are a lot more. I haven't used any of them and I prefer using
the database in my own script.
I am relatively inexperienced and hopefully someone who knows more can shed
more light on this issue .
Regards
jasan3114 Guest



Reply With Quote

