Parsing remote sites
| From: | Robert Abbate | Date: | Thu, 07 Sep 2000 18:37:41 +0000 |
| Subject: | Parsing remote sites | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15762@lists.php.net to get a copy of this message | ||
Hi. I have been able to fetch content from other sites (using a PHP script
called "Snoopy"), and print it, but I want to be able to recognize certain
words and don't really know where to begin.
For example: Let's say the site I fetch has:
"Name: John
Address: 456 Main Street"
Is there a way to get PHP to recognize certain words (like: "Address" in
this case) and be able to plug in the result (in this case: 456 Main
Street)??
Any help would be appreciated. I really don't know where to begin on this
one.
Thanks!