How to read a phrase off a web page?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aaron_nimocks
Forum Newbie
Posts: 1
Joined: Mon Oct 09, 2006 8:11 am

How to read a phrase off a web page?

Post by aaron_nimocks »

Long time reader first time poster! :)

Anywho I have been searching and searching and I cant seem to find any code on what I am trying to do.

Basically all I want is a function that will look at a web page and tell me if a phrase is present or not. I think I would have to use a regular expresion but that stuff just confuses me.

For example

Function

If phrase "google" is on http://www.google.com

else

Just something that simple. I know it can be done in just a few lines of code but I am clueless.

Any help?

Aaron
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Post by kaszu »

Post Reply