Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-01-2005, 10:44 AM   #1 (permalink)
Contributing Member
 
funguru's Avatar
 
Join Date: 02-22-04
Location: California
Posts: 986
iTrader: 1 / 100%
funguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nice
redirecting as per users geo-location

Hi. i want to redirect visitors to another website IF they are looking at mine from EUROPE. how can i do this? what script can i use which will automatically redirect people to a different website if their location is europe?

thanks
__________________
Add Link Directory PR3 $5 Submissions | SpeedHost.in Web Hosting India
funguru is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-01-2005, 12:15 PM   #2 (permalink)
Contributing Member
 
FGTH's Avatar
 
Join Date: 03-06-04
Location: NY, CT, CA, AZ
Posts: 522
iTrader: 0 / 0%
Latest Blog:
None

FGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to all
Understanding Regional Internet Registry

ARIN (American Registry for Internet Numbers) covering North & South America, the Caribbean and sub-Saharan Africa

RIPE (Reseaux IP Europeens) covering Europe and surrounding countries

APNIC (Asia - Pacific Network Information Center) covering Asia and the Pacific

http://www.arin.net/community/RIPEcountries.html
__________________
"90% of the game is half mental."
--Yogi Berra
Elizabeth Arden Blog
FGTH is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-01-2005, 05:58 PM   #3 (permalink)
Contributing Member
 
funguru's Avatar
 
Join Date: 02-22-04
Location: California
Posts: 986
iTrader: 1 / 100%
funguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nice
I read the page but still dont know how i can impliment it on my website???
__________________
Add Link Directory PR3 $5 Submissions | SpeedHost.in Web Hosting India
funguru is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-01-2005, 07:11 PM   #4 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 1,452
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
You could just put a map of the world on your home page and get people to choose where they are from :p
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 04:49 AM   #5 (permalink)
v7n Mentor
 
jg_v7n's Avatar
 
Join Date: 08-26-04
Location: Rio de Janeiro
Posts: 1,289
iTrader: 0 / 0%
Latest Blog:
None

jg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web pro
http://www.ip2location.com/
__________________
Web Directory - SMS Dictionary
jg_v7n is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 05:01 AM   #6 (permalink)
Contributing Member
 
funguru's Avatar
 
Join Date: 02-22-04
Location: California
Posts: 986
iTrader: 1 / 100%
funguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nicefunguru is just really nice
Quote:
Originally Posted by jg_v7n
thanks, i check it out but it is not a free service is there a asp script which i can insert which can check the ip address and redirect the visitors?
__________________
Add Link Directory PR3 $5 Submissions | SpeedHost.in Web Hosting India
funguru is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 05:18 AM   #7 (permalink)
v7n Mentor
 
jg_v7n's Avatar
 
Join Date: 08-26-04
Location: Rio de Janeiro
Posts: 1,289
iTrader: 0 / 0%
Latest Blog:
None

jg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web pro
The $49 IP - Country package comes with a sample ASP script for doing the lookup. Other than that you could write one yourself. You still need the database though.
__________________
Web Directory - SMS Dictionary
jg_v7n is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 05:42 AM   #8 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Quote:
Originally Posted by funguru
thanks, i check it out but it is not a free service
It's only fifty bucks. You'd pay someone more than that to write a script for you. Plus it has the database.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 08:10 AM   #9 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 282
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
Ok, guys and gals.... A little help here please.

What is the OUTPUT from the following???

<html>
<head>
</head>
<body>

<script>
d = new Date()
document.write (d)

</script>
</body>
</html>

Here in the states it is: "Tue Aug 02 2005 11:01:57 GMT-0400 (Eastern Daylight Time)"

Here's what I'm thinking..... (I'll try not to hurt myself) Redirect on the difference from GMT. So a substring to get the +/- difference???? Lil javascript guys! (Save the $50 go to dinner after the project is done!!!)

Now, you are betting on the clock is set within a REASONABLE difference from TRUE LOCAL time.


Comments???????
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 08:19 AM   #10 (permalink)
v7n Mentor
 
jg_v7n's Avatar
 
Join Date: 08-26-04
Location: Rio de Janeiro
Posts: 1,289
iTrader: 0 / 0%
Latest Blog:
None

jg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web projg_v7n is a highly respected web pro
It's a bit of a bodge - lots of countries are in the same timezone, so you couldn't distinguish North from South America, or Africa from Europe. I guess though if you just wanted to distinguish Europe from America it would work just fine.
__________________
Web Directory - SMS Dictionary
jg_v7n is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 08:33 AM   #11 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 282
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
Quote:
Originally Posted by funguru
... IF they are looking at mine from EUROPE. ...
Per the original poster, he just wanted a redirect if from Europe.
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 08:57 AM   #12 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Quote:
Originally Posted by Radnor
Per the original poster, he just wanted a redirect if from Europe.
Yea, but won't your way also redirect if the user is in Africa?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2005, 09:28 AM   #13 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 282
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
Yes, you are correct.

Berlin, Nigeria, Belfast, and more .... are all GMT + 1 hour.

This will just give you time zones. The poster did not really say why. I thought it was for a server closest to the requestor.

Maybe the original poster can shed a little more light on the question or if time zones are ok.....
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-03-2005, 09:31 AM   #14 (permalink)
Contributing Member
 
FGTH's Avatar
 
Join Date: 03-06-04
Location: NY, CT, CA, AZ
Posts: 522
iTrader: 0 / 0%
Latest Blog:
None

FGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to all
Quote:
Originally Posted by Radnor
Maybe the original poster can shed a little more light on the question or if time zones are ok.....
Quote:
Originally Posted by funguru
i want to redirect visitors to another website IF they are looking at mine from EUROPE. how can i do this?
My initial response pretty much lead everyone in the direction of using the remote address (IP) to determine geography.

Another piece of data to identify a visitor's geography is REMOTE_HOST. This will tell you the ISP/network provider which can be used to determine the location.

You can use the program that was recommended earlier or Visual Route which is my preference http://www.visualroute.com/index.html
__________________
"90% of the game is half mental."
--Yogi Berra
Elizabeth Arden Blog

Last edited by FGTH : 08-03-2005 at 09:39 AM.
FGTH is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-03-2005, 10:03 AM   #15 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,941
iTrader: 0 / 0%
Latest Blog:
None

imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
Quote:
Originally Posted by Jazzee
It's only fifty bucks. You'd pay someone more than that to write a script for you. Plus it has the database.
I agree. It's a one year subscription for only $49.00. Why re-invent the wheel? The database is the most important piece. I don’t know what you charge per hour but you probably exceeded $49.00 of your time looking for a “free” solution.

You could just do what others do. Have a landing page that makes the visitor select their country. Save their selection in a cookie, so when they come back they will go to the correct page.

Something like this:

http://www.iomega.com/global/index.jsp

imaginemn
__________________
Imagine Creative Services
Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting site. shahab6 SEO Forum 10 12-10-2007 01:17 AM
redirecting domain tdd1984 SEO Forum 6 02-01-2007 10:07 PM
Page redirecting TinnaDog Google Forum 10 07-25-2004 02:14 AM
Personalized 404 vs. redirecting websynergy_no SEO Forum 13 07-08-2004 05:32 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:37 AM.
© Copyright 2008 V7 Inc