Redirect User if Cookie is Set or IP Address is in database
$10-30 AUD
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.
ID Proyek: #10517242
Tentang proyek
Diberikan kepada:
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
5 freelancer rata-rata menawar $24 untuk pekerjaan ini
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
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