Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Script that will detect visitor zip code and redirect.
Old 08-08-2010, 09:30 AM Script that will detect visitor zip code and redirect.
fkj
Novice Talker

Posts: 14
Name: Fred
Trades: 0
I've used the search to find this but no luck.

I'm looking for a script that will detect a visitors location when visiting the site and redirect them to a corresponding section.
__________________

Please login or register to view this content. Registration is FREE
fkj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-08-2010, 09:47 AM Re: Script that will detect visitor zip code and redirect.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Cannot be done with HTML and how exactly do you think a script is going to find the users "zipcode"???
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-08-2010, 12:42 PM Re: Script that will detect visitor zip code and redirect.
fkj
Novice Talker

Posts: 14
Name: Fred
Trades: 0
Thanks for the response, Chris.
What can it be done in, and what is the best way to detect location?
__________________

Please login or register to view this content. Registration is FREE
fkj is offline
Reply With Quote
View Public Profile
 
Old 08-08-2010, 01:10 PM Re: Script that will detect visitor zip code and redirect.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ask the user! Store the info they give you in a cookie or a session, then tailor the pages based on that.

But don't make it obligatory. You have to consider that:

They may NOT be searching for themselves.
They may be planning a holiday (vacation).
"They" might be a search engine.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-12-2010, 10:15 PM Re: Script that will detect visitor zip code and redirect.
Experienced Talker

Posts: 36
Name: Josh Rasri
Location: Upstate NY
Trades: 0
What you're interested in using is what's called 'geolocation' info. You'll need to either utilize server-side back-end coding to take the user IP, search your database (that contains IP block to geographic location) to estimate the zip code.
An alternative is to search the web for 'geolocation services' as I seem to recall a few websites that allowed webmasters to make a remote call to their geo-tables to determine the geographic location of the visiting customer.
This does assume the user is visiting from their actual IP, and not a proxy :-)
__________________
John Rasri - GotLiveChat.com

Please login or register to view this content. Registration is FREE
Reseller/White Label Program
gotlivechat is offline
Reply With Quote
View Public Profile Visit gotlivechat's homepage!
 
Old 08-18-2010, 03:28 AM Re: Script that will detect visitor zip code and redirect.
Junior Talker

Posts: 1
Trades: 0
Quote:
Originally Posted by fkj View Post
I've used the search to find this but no luck.

I'm looking for a script that will detect a visitors location when visiting the site and redirect them to a corresponding section.
Hi, I am not sure if this is what you want, but they had implement the auto redirection based on the visitor's IP.
IP2Location IP Country Redirection
superromia is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Script that will detect visitor zip code and redirect.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43023 seconds with 12 queries