RE: [PHP] frameset und php-script in frame
| From: | Sam Masiello | Date: | Tue, 24 Feb 2004 23:00:29 +0000 |
| Subject: | RE: [PHP] frameset und php-script in frame | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178783@lists.php.net to get a copy of this message | ||
I am afraid that I don't get the same problem that you do. If I request
frameset.html in my browser I get the text that you are echoing in your
PHP statement in the top frame.
Is it possible that your resolution is such that you need to scroll in
the top frame to see it? Try viewing the source of the top frame to see
if the contents of your echo statement is in there.
--Sam
joe-at wrote:
> hi pleas help me,
>
> when I try to use php in a frame of a frameset it dos not work. what
> is wrong with my files?
>
>
>
> fameset.html:
>
>
>
> <html>
>
> <head>
>
> <title>frameset</title>
>
> </head>
>
> <frameset rows="83*,377*" cols="*">
>
> <frame src="test.php" name="topFrame">
>
> <frame src="Info.htm" name="mainFrame">
>
> </frameset>
>
> <noframes></noframes>
>
> <body>
>
> </body>
>
> </html>
>
>
>
> test.php:
>
>
>
> <html>
>
> <head>
>
> <title>test</title>
>
> </head>
>
> <body>
>
> <p>Jetzt sollt ein PHP-Skript erscheinen:</p>
>
> <?php echo "Wer fersteht das noch?" ?>
>
> </body>
>
> </html>
>
>
>
> result of the top frame (test.php):
>
> Jetzt soll ein PHP-Skript erscheinen:
>
>
>
> test.php works without frameset:
>
> Jetzt sollt ein PHP-Skript erscheinen:
>
> Wer fersteht das noch?
>
>
>
>
>
> Thanks for help
>
> joe-at