Re: Spawning new pages
| From: | Brent Clements | Date: | Wed, 01 Dec 2004 01:24:02 +0000 |
| Subject: | Re: Spawning new pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203196@lists.php.net to get a copy of this message | ||
This is simple.
echo "<html>";
echo "<body>";
echo "Hello World";
echo "</body>";
echo "</html>";
There are many ways to do what you want to do. It's at the core of PHP.
-Brent
----- Original Message -----
From: "Christopher Weaver" <booktues@yahoo.com>
To: <php-general@lists.php.net>
Sent: Tuesday, November 30, 2004 6:54 PM
Subject: [PHP] Spawning new pages
> I want one of my functions to create and open a new page. I know how to
> call an existing page from PHP ala form action, but in this case I want to
> dynamically create and then display several pages. I'm thinking that
> perhaps I should assemble some HTML, write it out to a files, then open
the
> HTML file.
>
> Is this the best way of going about it?
>
> Can it be done without actually writing the HTML to the disk?
>
> How do I actually open the page once it's been created?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>