View Single Post
Old 03-14-2011, 08:11 PM  
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by Jakez View Post
WINNING! This works also and is 100x more simple to deal with.

Final code I'm going with for the redirect page:
PHP Code:
<?php $url "http://www.finalsite.com"?>
<html><head></head><body onload='top.location="<?=$url;?>"></body></html>
Shows the redirect as the referrer in all browsers. Thanks everyone!
Happy to assist...

Not that it makes any difference really, but if you're going to hard code the url in the php, you might as well take all of the php out and put the url in the location directly.

Either way works though.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote