Re: Frames: how to get the url of the top frame?

From: Date: Wed, 27 Aug 2003 08:43:49 +0000
Subject: Re: Frames: how to get the url of the top frame?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160879@lists.php.net to get a copy of this message
Hi, Server side there si no way to get the parent's URL you could however client side with JS Cheers, Catalin "Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message news:20030827040449.46772.qmail@pb1.pair.com... > I am providing content for an other site. My content is getting shown in > side a frame. My content contains links to other content I provide. It > also has forms that the user can use to submit information. > > The form's submit action depends on some information that the main site > send to me in the url, i.e., http://bigsite.com/index.html?submit=actionName > > The problem is that cannot find a way to access the URL form inside the > frame. All the $_SERVER vars are relative to my frame. > > Is there a way for me to access the top (parent?) frame's URL? > > Thanks, > > Jean-Christian Imbeault

« previous php.general (#160879) next »