Arson
Dec 3rd 2007, 8:50 pm
I am wondering if there is any kind of command in PHP that will search a web page for a certain word, and then confirm whether or not the word was found.
For example, say I wanted to find the word "ebay" on www.ebay.com, the script would look for it, and then it would come back and tell me, yes, the word ebay is on www.ebay.com!
Or, if I wanted to find the word "Microsoft" on a linux enthusiast website, it would search the site, and come back and tell me hey, the word "microsoft" was not found on that linux enthusiast site..
So, is there any special command or whatnot that would allow me to do this?
For example, say I wanted to find the word "ebay" on www.ebay.com, the script would look for it, and then it would come back and tell me, yes, the word ebay is on www.ebay.com!
Or, if I wanted to find the word "Microsoft" on a linux enthusiast website, it would search the site, and come back and tell me hey, the word "microsoft" was not found on that linux enthusiast site..
So, is there any special command or whatnot that would allow me to do this?