Read an HTML file into a variable...
| From: | Yoeri De Bruyn | Date: | Fri, 03 Nov 2000 15:01:56 +0000 |
| Subject: | Read an HTML file into a variable... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3666@lists.php.net to get a copy of this message | ||
Hi phpeers!
I need to get all the content of a HTML file (as it is with all its tags and
stuff) into a variable.
When I do fopen($file_name, "r") and fgets($newFile, 255), only the
characters which are not btween '<' and '>'.
What's goin' wrong?
Any tip or trick or example will be very appreciated!
kr,
Yoeri.