Is there a (relatively simple) way in PHP to "grab" the source code of a web page (by URL) so that you can search it for text?
I want to access a web page's source code and confirm (or not) that a particular piece of code is present.
I want basically copy the manual process of:
opening a web page in the browser
choosing view page source
Find command "some text"
Get a true or false result.
All and any help gratefully received