There are several ways you can do this.
The easiest way is to include the file like this:
You can place this line wherever you need the html file included.
See the include() function on for more info.

If, instead, you want to capture the html file and do something with it, you
can use the file functions listed on It might seem a little
difficult to grasp at first, but it will be very straightforward once you
get used to using these functions. Just search for "FileSystem" on
and it will get you to the exact place you need to be to start learning
about how to deal with files. Here is the direct link, just in case: This site might also help
you: Have fun...

- Nilaab

> -----Original Message-----
> From: Martin Johansson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 10:16 AM
> Subject: [PHP] HTML page and php
> How do I get a html page into a string variable in php?
> Isnt there any function working like this:
> $homepage = getHtmlPage(c);
> /Newbie
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to