Re: Frame permissions and php3 scripts

From: Date: Fri, 14 Jul 2000 17:29:07 +0000
Subject: Re: Frame permissions and php3 scripts
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1152@lists.php.net to get a copy of this message
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

« previous php.db (#1152) next »