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

From: Date: Wed, 27 Aug 2003 04:01:10 +0000
Subject: Frames: how to get the url of the top frame?
Groups: php.general 
Request: Send a blank email to php-general+get-160868@lists.php.net to get a copy of this message
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 (#160868) next »