I have a script I've written and it's working except for 1 problem, if I try and use the $_SERVER['HTTP_REFERER']; to send it back to the previous page, it takes me to a blank page w/ nothing on it. If I set my variable to say, google.com it works fine.
Code: Select all
$ref=$_SERVER['HTTP_REFERER'];
header( 'Location:' . $ref );Any help would be greatly appreciated.
Thanks