RE: [PHP] getting HTML header from URL
| From: | Brendon G | Date: | Sat, 02 Nov 2002 01:38:56 +0000 |
| Subject: | RE: [PHP] getting HTML header from URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122486@lists.php.net to get a copy of this message | ||
Can't you just call the contents of the page into a variable and extract
what you need with regular expressions?
Php / Html makes no difference its all text to fopen..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> is there a way using fopen() or something similar to read an html/php
> file before it's loaded?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm not sure what you mean here. How can you read anything with out opening
it first?.
Cheers
Brendon