PHP with Frames (cont.)
| From: | rich | Date: | Mon, 27 Oct 2003 19:23:11 +0000 |
| Subject: | PHP with Frames (cont.) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167778@lists.php.net to get a copy of this message | ||
No, he's right - this is an issue.
Do variables persist between PHP files?
In the attached scripts I have a login page which directs the user, on a
sucessful login, to a front page which is a frameset.
The login.php opens a connection to a MySQL database ($connection) but once
the browser has been re-directed to the frame-root.html page this variable
is no longer available.
Kb wrote:
> Hi,
>
> Does anyone know why my PHP pages won't work in Frames? I have 5 frames,
> each of which are displaying PHP pages.....and none of the PHP code works.
>
> If I run the code outside of Frames it works fine!
>
> I've can't find any decent references for PHP in Frames.
>
> Your help would be appreciated.
>
> Thanks
>
> Kevin
--
UEA/MUS::Record Library
--
UEA/MUS::Record Library