Re: [PHP-DB] Frame permissions and php3 scripts From: Matt McClanahan (cardinal <email protected>)
Date: 07/14/00

On Fri, 14 Jul 2000, rgp systems wrote:

> Anyone know if there's a way to allow a php script loaded into a frame to
> access variables in another frame. I get permissions errors if I try to do
> this.
>
> Also, if anyone's had success loading scripts into layers I'd like to know
> how you did it; I've been unable to get anything to load into layers.

Frames can't share variables between each other since they're essentially
seperate documents as far as PHP cares. However you could send variables
between them with an anchor targeted at a given frame. That is, from a
certain frame,

<a href=page.php?vartopass=valuetopass target=otherframe>

Depending on how complex the two frames are, and whether both of them need
to keep the variables they have, this may or may not be useful.

Matt

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>