Re: Referring URL
| From: | Mikael Grön | Date: | Mon, 30 Apr 2007 07:37:42 +0000 |
| Subject: | Re: Referring URL | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27783@lists.php.net to get a copy of this message | ||
In your situation the iframe php page can find the loading page url in $_SERVER['HTTP_REFERER'];
Note that this doesn't work if the user has disabled referrers, as can be done with the Web Developer Toolbar for Firefox amongst others.
Mike
Dale Attree skrev:
Hi, Does anyone know how to get the URL of the main page that makes use of an iframe to access another page? Kind Regards, Dale *********************************************************************************************** The information contained in this e-mail is confidential and may be subject to legal privilege. Access to this e-mail by anyone other than the intended recipient is unauthorised. If you are not the intended recipient you must not use, copy, distribute or disclose the e-mail or any part of its contents or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by e-mail (postmaster@jacklinenterprises.com) or telephone (+27 11 265 4200). This message is free of all known viruses. It has been screened for viruses by Blockmail. ***********************************************************************************************