Is there a way in PHP to "grab" the source of a web page?
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
Tony
-
michael_gourlay -
[ 1 ] Thanks
{{ DiscussionBoard.errors[3382776].message }} -
-
carrot -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[3385931].message }}-
Tony Marriott -
Thanks - 1 reply
SignatureFree Local Business Analyzer & Lead Generator{{ DiscussionBoard.errors[3386137].message }}-
jminkler -
[ 1 ] Thanks - 2 replies
{{ DiscussionBoard.errors[3386620].message }}-
womki -
Thanks - 1 reply
{{ DiscussionBoard.errors[3387285].message }}-
Christian Little -
Thanks
SignaturecPanel Shared and Reseller Web Hosting - 30 Day Free Trial Exclusive for Warriors!{{ DiscussionBoard.errors[3387997].message }} -
-
-
hilhilginger -
Thanks
SignatureRead My Affiliate Network Unique ArticlesThey have over 2300 Offers, Instant PayPal Payments and Free Training Articles.{{ DiscussionBoard.errors[3392543].message }} -
-
-
-
-
Emilis Strimaitis -
Thanks - 1 reply
{{ DiscussionBoard.errors[3388518].message }}-
Tony Marriott -
Thanks - 1 reply
SignatureFree Local Business Analyzer & Lead Generator{{ DiscussionBoard.errors[3389316].message }}-
jminkler -
Thanks
{{ DiscussionBoard.errors[3399764].message }} -
-
-