Record IP address to file and redirect (PHP script)


I need a php script that will redirect every IP address ONCE WEEKLY to a specific URL. The list of IP addresses should be stored in a basic TXT file on FTP server.

I don't want the system to work with cookies, I want every IP to be logged to make sure the same IP will not be redirected to a specific URL more than once weekly.

How it works.

I will send a visitor to page [login to view URL]

1) The visitor will be redirected to URL A as first time visitor

2) If the same IP/visitor comes again one minute later it must be redirected to URL B as URL A already visited (IP addresses stored in TXT file if already logged once in system).

3) If IP address not located in TXT file then visitor should be redirected to URL A

4) I will clean the TXT file manually from IP addresses so no need to admin area hence need your best price

5) No need to CRON to clean IP table, I will delete the IPs myself from TXT file.

If you can do an auto erase IP function that would work DAILY or WEEKLY. Let me know how much additional it would cost.

The script will handle 50 visits per minute so it should detect and redirect quickly without using too much resource.

I should be able to edit URL A and URL B by basic PHP file EDIT. I don't need admin area. I want your script to be hackerproof since no admin area needed. I will edit everything through FTP access to files.


Skills: PHP

See more: script ip address, ip address script, how to clean your cookies, php, best php script, time record, no address to, IP address, basic php, detect php, php detect system, cost file, cron delete table php, php script function, daily time record, auto php script, php record, addresses specific area, redirect system php, delete cookies

About the Employer:
( 103 reviews ) Qawra, Malta

Project ID: #7017619

Awarded to:


Hello, can do this job as required, will write a script which will maintain a text file outside www (so normal users can not access it). but i do think as file will grow it will take longer and longer to search the More

$54 USD in 3 days
(156 Reviews)

27 freelancers are bidding on average $103 for this job


Hello, I am ready to implement a script which will redirect users based on their IP addresses. Can you please contact me to discuss the requirements of this project in more detail? My background: I am a professio More

$199 USD in 3 days
(164 Reviews)

Hi, My name is Chris. I have read your requirement for a php redirect scrip. I have been working in the Information Technology field for the past 15+ years and freelancing for the past 8+ years. I am a seasoned develop More

$150 USD in 3 days
(164 Reviews)

Hi, i read through the project description extremely carefully and i am absolute sure, that i can do the project very well. I have worked on similar redirecting script projects, and i am confident i can achieve the res More

$60 USD in 1 day
(263 Reviews)

Hello. With a regular TXT file it might be inefficient if there are too many IP addresses already logged More

$111 USD in 3 days
(126 Reviews)

hi we could do it perfectly with accuracy, please let us know if you want to clarify in details.. if you want us to share our skill and previous work please initiate the chat by replying..

$127 USD in 3 days
(162 Reviews)

A proposal has not yet been provided

$50 USD in 3 days
(160 Reviews)

hello sir its a similar concept of A/B page test.I made such a concept with database handlig and can do it via text file type can we dsicuss more

$70 USD in 3 days
(251 Reviews)

bid is not from me realy.. it's from my friend.. I shown him project and he asked me to place bid with his price,

$155 USD in 3 days
(151 Reviews)

Hi, I can do this job for you. I've got 15+ years of experience in IT development, of which 10+years in web development using PHP/HTML/Javascript/AJAX/mySQL technologies. I worked in a bank for 10 years during More

$147 USD in 3 days
(30 Reviews)

Hi, I have read all your requirements and I can do this job very professionally and you will get Pro Quality Work. Also we will work until your 100% Satisfaction please visit my profile portfolio for my work. PLEASE More

$90 USD in 3 days
(51 Reviews)

Hello, I read your complete specs and to provide you the best solution, I need to discuss few things with you. Can you come to chat? Regards, Anurag PS: Bid may change after discussion!

$65 USD in 1 day
(86 Reviews)

Hello, I represent a team of designers and developers. We can start your project right away, but please contact me first to discuss details. Looking forward to work with you. As a team we do a lot of landing pages. More

$105 USD in 7 days
(31 Reviews)

Hello, I can make a PHP script for you. If I understand correctly, you want the visitor (based on IP address) once a week redirect to the URL A. If the visitor has already been redirected to URL A, it will be red More

$50 USD in 3 days
(45 Reviews)

Hello, I have 2 years of commercial web development. Please, let me know if you want to work with me.

$78 USD in 1 day
(12 Reviews)

Hi sir, I am good at visitor tracking and the PHP language. For your project, a tracking script and a IP address cache is needed. I would like to work for you.

$111 USD in 3 days
(19 Reviews)

A proposal has not yet been provided

$88 USD in 3 days
(17 Reviews)

hi sir ! thank you for your post. Your project is making me excited. My team is interested in this project as it is exactly within our scope of expertise We are an 5-year experienced wordpress,c#,c++,HTML5, javascri More

$150 USD in 3 days
(21 Reviews)

hello, if you want that functionality also than there will be 10 $ extra for that only

$50 USD in 1 day
(14 Reviews)

A proposal has not yet been provided

$77 USD in 4 days
(10 Reviews)

I don't think this task is difficult and if i also include an optional timestamp in the text file besides the IP, i can do cleanup of IPs one by one (no extra cost).

$111 USD in 3 days
(10 Reviews)