$_GET of a parent frame?

$_GET of a parent frame?

am 02.10.2007 09:44:05 von gerritpetersen

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

RE: $_GET of a parent frame?

am 02.10.2007 09:47:00 von Gustav Wiberg

Hi!

You would have to use Javascript to fix this. Maybe store a variable in a f=
orm in another frame and reference it from the mainframe.

Best regards
/Gustav Wiberg
=20

-----Original Message-----
From: GP [mailto:gerritpetersen@gmail.com]=20
Sent: Tuesday, October 02, 2007 9:44 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] $_GET of a parent frame?

Hi all,

I'm working on an page with frames. I would like to read an url variable=20
from the 'main' page, in one of the sub-pages.
E.g. url (in the browser) www.test.com?log=3DNO
One of the frames is an php script (say: content.php), where the log must b=
e=20
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=20
frame, using the $_Get statement?

If not (would not supprise me) does anyone has a sugestion?

Regards,
Gerrit=20

--=20
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.=20
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 2007-10-0=
1 18:59
=20

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: $_GET of a parent frame?

am 04.10.2007 22:37:33 von Trystano

----------MB_8C9D4DD8692883F_EE4_507A_webmail-de10.sysops.ao l.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"


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
To: 'GP' ; 'php-windows@lists.php.net'
Sent: Tue, 2 Oct 2007 8.47am
Subject: RE: [PHP-WIN] $_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@gmail.com]
Sent: Tuesday, October 02, 2007 9:44 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] $_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.

----------MB_8C9D4DD8692883F_EE4_507A_webmail-de10.sysops.ao l.com--