if you are looking for page scraping help on php you can use below mentioned 2 function to fetch a web page then parse it as you wish. It’s using php curl extension and some string processing functions. Before start using it you need to enable the php_curl extension first then follow the below steps.
Getting a full webpage content:
Parsing a page html content:
<?php $subHtmlContent = getValueByTagName($pageHtmlContent, '', ''); ?>
Then you can now process the rest of content as you need. Above mentioned getPage and getValueByTagName functions are defined below you need to include them on you php page to use it.
Thank you for reading.
Your tutorial not working perfectly I am follow your tutorial line by line
LikeLike
It’s constantly working as I know 🙂 You may be miss-placed the getValueByTagName calling parameters. First see the code before you use it. Thanks
LikeLike