Re: [bang-phpug] How to get the parent URL from PHP Code
- Dear Dhana,
You can try using $_SESSION. This will remain
permanently, until and unless it is unset or the
program is closed.
--- dhana_1706 <dhana_1706@...> wrote:
> We have designed our all html pages having 3 frames.
> We have used 3
> php/html pages to display in the frames.
> From one of my php page - We need to get the main
> parent's URL. We
> tried using $_SERVER['PHP_SELF'], it gives the url
> of same page and not
> the parent's url.
> We need a way to get the parent url through php code
> - similar
> We need a solution either
> variable. OR
> 2. To get the parent url from the page thro php
> Kindly tell me the solution for it
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ