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 ([EMAIL PROTECTED]) or telephone (+27 11 265 4200). This message is 
free of all known viruses. It has been screened for viruses by Blockmail.

***********************************************************************************************



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to