Very basic:
What is the easiest way in php to download the source code (HTML etc.)
of a given URL (say, http://www.google.com) and parse this code for
certain patterns?
I guess my question can be split in two:
1) How do I download a webpage (into a string or whatever)?
2) How can I do string manupulation, regexp matching, information
extraction etc. on the downloaded information?
/David
What is the easiest way in php to download the source code (HTML etc.)
of a given URL (say, http://www.google.com) and parse this code for
certain patterns?
I guess my question can be split in two:
1) How do I download a webpage (into a string or whatever)?
2) How can I do string manupulation, regexp matching, information
extraction etc. on the downloaded information?
/David
Comment