RE: [PHP-WIN] Read random text between known tags from a file
| From: | Matthias Endler | Date: | Thu, 26 Oct 2000 16:16:15 +0000 |
| Subject: | RE: [PHP-WIN] Read random text between known tags from a file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3521@lists.php.net to get a copy of this message | ||
Hi Yoeri,
> I need to retrieve the text between [<META NAME="description" CONTENT=]
> and [ >].
> Any body an idea on how to achieve this?
> Should it work with "ereg"? If so, how exactly?
let php's get_meta_tag() function do the job.
http://uk.php.net/manual/function.get-meta-tags.php
Cheers,
Matthias