html - How Retrive A Piece Of Text From A Source Website With PHP? -
i have has been shared on website , changes every day. dont know how this. how can this?
you download exact page you're after using file_get_contents
$web = file_get_contents("http://google.com") you'd have strip out whatever want rest of source code on website. can done using strpos or stripos (ipos beingness case insensitive) find location, , using substr extract part of string.
php html web
No comments:
Post a Comment