Hi guys,
I am using an i-frame to display a page on another domain, this page makes a redirection. Is it possible to read the url of the final redirected page into a variable?
Thanks in advance,
Rob.
i-Frame
Moderator: General Moderators
Re: i-Frame
you can use $_SERVER['HTTP_REFERER']..but it is not dependable
-
spacebiscuit
- Forum Contributor
- Posts: 390
- Joined: Mon Mar 07, 2005 3:20 pm
Re: i-Frame
I should perhaps clarify - I want to read the url of the final redirected page into a variable on the page which is displaying the i-frame.
I tried the $_SERVER['HTTP_REFERER'] variable and this just game me the URL of the page hosting the iframe.
Thanks,
Rob.
I tried the $_SERVER['HTTP_REFERER'] variable and this just game me the URL of the page hosting the iframe.
Thanks,
Rob.