PROBLEM SOLVED- THANKS 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?
Is there a way in PHP to "grab" the source of a web page?
13
PROBLEM SOLVED- THANKS
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
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
- carrot
- [ 1 ] Thanks
- [1] reply
- Tony Marriott
- [1] reply
- Emilis Strimaitis
- [1] reply
- Tony Marriott
- [1] reply
Next Topics on Trending Feed
-
13