Jump to content

simple help


mrpeanut420

Recommended Posts

<html><head><title></title></head>
<body>

<?php

echo $_SERVER['HTTP_REFERER']

?>
</body></html>

 

i'm using that to test the referral

and it isn't displaying anything on the webpage

am i doing something wrong?

no errors or anything, just blank

 

Have you tried this in several different browsers? Try Chrome, FF, IE, etc.. If you can... Also close out your statement with ; ...

 

 

Link to comment
https://forums.phpfreaks.com/topic/218124-simple-help/#findComment-1131890
Share on other sites

i added the semicolon to the end of the statement, still the same.

 

i tested it with chrome and internet explorer, still the same.

 

<?php

   header( 'Location: http://domain.net/sub/test.php' ) ;

?>

 

i'm using that as the redirect code, if that matters at all.

 

anymore suggestions?

Link to comment
https://forums.phpfreaks.com/topic/218124-simple-help/#findComment-1132110
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.