Write PHP script for redirect to MYSQL database entry based on IP address geolocation

Selesai Dipasang Nov 23, 2014 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I need a PHP script that takes the last world of an URL (e.g., "France" in [login to view URL]) and:

- identifies the location of the site visitor based on his IP address.

- looks up the keyword at the end of the URL and reads from a MySQL database the target URL for that keyword and country

- Redirects the visitor to the target URL that has been read from the database.

- If the country in question cannot be found in the database, redirect to the "fall-back" country for that keyword).

The database consists of a simple table "redirects" with three fields:

-keyword

-country

-targetURL

All three fields are text; country names will be the standard Internet country codes (i.e., "fr" for France, "de" for Germany, "uk" for United kingdom, "us" for United States). "--" will be the fall-back country in case a country code is not found.

Example of the table:

keyword country targetURL

gadgets -- [login to view URL]

gadgets fr [login to view URL]

gadgets it http://mygadgets/[login to view URL]

gadgets uk [login to view URL]

gadgets us [login to view URL]

Access to a test site with mySQL can be provided for the testing of the script if necessary. I will test it from at least two different countries.

MySQL PHP Desain Situs Web

ID Proyek: #6773742

Tentang proyek

26 proposal Proyek online Aktif Nov 29, 2014

Diberikan kepada:

aztechdev

Hello sir, I can write your script with the following features : - Lookup of origin country of request - Lookup of a redirect URL in database based on a keyword in the URL and the visitor's country - Redirect u Lebih banyak

€100 EUR dalam 3 hari
(9 Ulasan)
4.5

26 freelancer rata-rata menawar €132 untuk pekerjaan ini

rajeshsonisl

Hello! With 99% completion rate, 720 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u Lebih banyak

€315 EUR dalam 2 hari
(940 Ulasan)
8.6
toinnisfree

I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor Lebih banyak

€150 EUR dalam 3 hari
(786 Ulasan)
8.3
entrepreneur2000

Hello, I am ready to implement a script to redirect user based on IP. Can you please contact me to discuss the requirements of this project in more detail? My background: I am a professional web developer with mo Lebih banyak

€126 EUR dalam 3 hari
(179 Ulasan)
8.3
sprextech

----------------------------------------------------------Please Consider on My BID---------------------------------------------------Dear Sir/Madam, We are already read your project description & fully understand this Lebih banyak

€100 EUR dalam 2 hari
(321 Ulasan)
7.6
CodingExpertz

Hi, I looked your posting and I am very much interested to work with you ...I am an India based software professional providing a range of IT services and solutions that address the technology needs of your company in Lebih banyak

€105 EUR dalam 2 hari
(126 Ulasan)
6.6
avinashjain09

Hello, can you provide access to test site. I have 3+ years of experience in php,mysql,codeigniter,wordpress,yii. I have expertise in database. And also I am a Oracle certified Associate.

€70 EUR dalam 3 hari
(127 Ulasan)
6.7
kimit1234

A proposal has not yet been provided

€100 EUR dalam 3 hari
(111 Ulasan)
6.0
Jerok

Hello, I'm an experienced web designer and developper. Let me know if I can be of service. Podemos comunicar en castellano caso sea mas confortable.

€100 EUR dalam 3 hari
(39 Ulasan)
6.1
optimizmo

Hello, I can create a script with described functionality for you. It will take a keyword from the url, resolve the country by IP, if possible, and redirect the user to the url, fetched from your MySQL DB. If intereste Lebih banyak

€120 EUR dalam 2 hari
(32 Ulasan)
5.9
sashamd

Hi, I would like to apply for this PHP project. Please contact me if you have any questions. Best wishes, Sasha

€80 EUR dalam 3 hari
(29 Ulasan)
5.8
dynamiteboy

Hi I am developer PHP / MySQL / CSS / jQuery / HTML 5, 10 years experience, I have already made ip geolocation system, I would be very happy to do this for you, I am available for the nows do.

€200 EUR dalam 2 hari
(58 Ulasan)
5.3
bishkot

Hello sir, i can develop this redirect function for you. Please provide me with full specs and details. Waiting for your reply.I am ready to start. Many greetings from Bulgaria.

€111 EUR dalam 3 hari
(3 Ulasan)
4.2
mohamedmssouda

Hello Sir I am expert web developer,and I wish you give me this opportunity and I will do the best quality with the lowest price

€88 EUR dalam 3 hari
(24 Ulasan)
4.4
magiccupcake

Hello, I am a developer from IL (United States). I have a lot of experience in PHP and can make this script for you fairly quickly. Do you already have the MySQL database or do you need that created? If you need it Lebih banyak

€75 EUR dalam 2 hari
(12 Ulasan)
4.6
faisal0077

Aucune proposition n'a encore été fournie.

€66 EUR dalam 3 hari
(5 Ulasan)
3.4
injector17

A proposal has not yet been provided

€100 EUR dalam 3 hari
(6 Ulasan)
3.2
Mzherr

Hi : ) I'm worked on 2 Redirect-By-GeoIP project before , so i can do it for you . Just want to notice you , you'll need GeoIP API external connection or upload GeoIP Database to your server - And there is many of t Lebih banyak

€50 EUR dalam 5 hari
(4 Ulasan)
3.4
wildlily981

Hello I can do this I can show you a demo in next 24 hours if you want. .................... Best Regards Bill Lee

€72 EUR dalam 3 hari
(2 Ulasan)
2.4
geneprogrammer

Hey, This is a very simple job if it is just as described in project description, We can easily get the IP address of visitor And then using IP we can find Country name Matching country name by code and getting UR Lebih banyak

€100 EUR dalam 3 hari
(1 Ulasan)
1.4
rubennavarroc94

I am an expert making PHP scripts for anything. Making this script for you will be fast and powerful. I am bronze medallist from the National Olympiad of Informatics of México which gives you very good reasons to hire Lebih banyak

€200 EUR dalam 3 hari
(0 Ulasan)
0.0