Re: web page grab
| From: | nicuc.ac.jp | Date: | Mon, 23 Apr 2001 03:45:27 +0000 |
| Subject: | Re: web page grab | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49799@lists.php.net to get a copy of this message | ||
I thinks you should use eregi_replace
(http://www.php.net/manual/en/function.eregi-replace.php) and then
strip_tags (http://www.php.net/manual/function.strip-tags.php) to strip HTML
tag from string . so, you will get a plain text of the grab page.
--
-Tuna-
"Ed Lazor" <osmosis@atfantasy.com> wrote in message
news:5.0.2.1.0.20010422203515.04d66d78@mail.atfantasy.com...
> Hi =)
>
> I'm trying to grab content from another web page. After having browsed
> through the mailing list archives and such, it looks like I'll need to use
> the eregi_replace function, but I'm not sure how to properly format the
> command. The goal is to get rid of everything from the start of the page
> up to the word "Wish" and everything after the word "numbers". Or,
another
> way of phrasing it, I'm wanting to get a web page and only use the content
> between the words "Wish" and "numbers". What would be the best way of
> going about this?
>
> Thanks,
>
> -Ed
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>