Re: getting $_GET params from iFrame window to parent

From: Date: Thu, 11 May 2006 17:24:08 +0000
Subject: Re: getting $_GET params from iFrame window to parent
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-236001@lists.php.net to get a copy of this message
On Wed, May 10, 2006 10:49 pm, blackwater dev wrote: > I have a small site which provides search functionalities. My search > sites > are framed in my clients sites via iframe. I have a client who would > like > to put the search form somewhere else on their site (it is currenly > all on > my page within the iframe) and then call their search page to do the > search, > so in essence I need a way to grab the $_REQUEST params from the > calling > site if they exist...is this possible? > > > <main site url="mainsite.com?param1=hello&param2=there"> > **How do I see these params from within the iFrame? > > <iFrame mysite url="mysite.com?param2=good&param3=bye"> > I, of course, can see these params fine as this is my site > </main> If they don't send the params to you, you can't get them, I don't think. Maybe maybe maybe something like: parent.location in javaScript, but you're in the wrong place for that. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#236001) next »