Look to use window.parent.location.href, and window.parent.location.search (this gets the query string). Assuming the frame is same within the main frame like an IFrame. Tryst -----Original Message----- From: Gustav Wiberg <gustav@xxxxxx> To: 'GP' <gerritpetersen@xxxxxxxxx>; 'php-windows@xxxxxxxxxxxxx' <php-windows@xxxxxxxxxxxxx> Sent: Tue, 2 Oct 2007 8.47am Subject: RE: $_GET of a parent frame? Hi! You would have to use Javascript to fix this. Maybe store a variable in a form in another frame and reference it from the mainframe. Best regards /Gustav Wiberg -----Original Message----- From: GP [mailto:gerritpetersen@xxxxxxxxx] Sent: Tuesday, October 02, 2007 9:44 AM To: php-windows@xxxxxxxxxxxxx Subject: $_GET of a parent frame? Hi all, I'm working on an page with frames. I would like to read an url variable from the 'main' page, in one of the sub-pages. E.g. url (in the browser) www.test.com?log=NO One of the frames is an php script (say: content.php), where the log must be read. However, the content.php script is updated from anonther (navigation frame). So my question: is it possible to read the log variable from the parent frame, using the $_Get statement? If not (would not supprise me) does anyone has a sugestion? Regards, Gerrit -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 2007-10-01 18:59 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ________________________________________________________________________ Get a FREE AOL Email account with unlimited storage. Plus, share and store photos and experience exclusively recorded live music Sessions from your favourite artists. Find out more at http://info.aol.co.uk/joinnow/?ncid=548.