Re: HTTP_REFERER with Javascript Window

From: Date: Thu, 17 Aug 2000 01:05:22 +0000
Subject: Re: HTTP_REFERER with Javascript Window
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12133@lists.php.net to get a copy of this message
Pass the parent window's URI to the javascript window via the querystring: your_javascript_window_file.php?referrer=http://<?php echo $HTTP_HOST.$SCRIPT_NAME ?> ... then your javascript window can use $referrer If you only need it for javascript, you can get the parent window's url via the document object - try document.write(window.parent.location); jason > Is there a way to determine where a Javascript window originated? > HTTP_REFERER comes up empty. > > Thanks, > > Jeff

« previous php.general (#12133) next »