Redirect User if Cookie is Set or IP Address is in database

Selesai Dipasang 7 tahun yang lalu Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I require software which will perform the following. Ideally, it will be some PHP code at the top of each of the pages to perform the required checks. Preferably, it will be a PHP file to include in at the top of any PHP document I choose. So that the required code is stored centrally, and any changes can be made centrally.

I would like as much of the redirecting etc. as possible to occur server-side. I understand that some client-side JS may be required, but to a minimum please.

SUMMARY:

[login to view URL] - When a user visits this page, their IP address will be stored inside a simple MySQL database and a cookie will be placed in their browser (expiry never) (cookie name google_qv). If they have already visited this page (existing cookie found, or IP address is in the database), they will be redirected to a predefined URL (eg. [login to view URL])

[login to view URL] - When the user visits this page, if they have the cookie placed on their system, or their IP address is in the database, they will be redirected to a predefined URL (eg. [login to view URL]), else they can remain on page_2.php.

PHP Perancangan Perangkat Lunak

ID Proyek: #10517242

Tentang proyek

5 proposal Proyek online Aktif 7 tahun yang lalu

Diberikan kepada:

akramchauhan193

i am expert in such task ,, if you satisfied with my work then you will pay .. i am doing in low cost in ordered to get max reputation in freelancer

$10 AUD dalam 1 hari
(12 Ulasan)
3.8

5 freelancer rata-rata menawar $24 untuk pekerjaan ini

vishalplus

Hello there, I will add your require functionality in header so it can be active in every page. i am having 4+ years of experience in web developing.i will start working on it immediately. Thanks Lebih banyak

$24 AUD dalam 0 hari
(14 Ulasan)
4.7
LouisRigaudie

Hi there. I totally understand your request and will like to help you in this task. I can do this for you asap. It is quite simple and should not take long. Thanks in advance. Regards, Louis

$25 AUD dalam 0 hari
(4 Ulasan)
2.7