Process pages for a certain information using PHP

bobyckocks

New Member
For example, I wish to mine http://stackoverflow.com/privileges/user/3 and get the data that is in the div \[code\]<div class="summarycount al">6,525</div>\[/code\] so that I can add the reputation to a local db along with the usernumber. I think I can use file_get_contents\[code\] $data = http://stackoverflow.com/questions/3883731/file_get_contents('http://stackoverflow.com/privileges/user/3');\[/code\]How do I extract the required data i.e 6,525 in the above example?
 
Back
Top