I have managed to get php installed and everything setup correctly however the redirect.php file is not picking up the URL i enter.
In this file i have the following:
<?php
$ref = $_SERVER['HTTP_REFERER'];
if (strpos($ref, "facebook")) { header('Location: facebook.html'); }
else{
require('peets.html');
}
?>
If i echo $ref there is no data in it. Do i have to enter the ref command into the index.html file and post it across to the redirect.php?
PHP is diffrent installed correctly as i can echo stuff however just not getting any data entered for $ref.
Anyone know how to get around this problem?