php - file_get_contents on times out when run on same server as target -
php - file_get_contents on times out when run on same server as target -
if set in php file:
echo file_get_contents("http://www.example.com/mypage.php");
if run script on example.com, page times out. if run same script on different server, loads correctly immediately. checked , allow_url_fopen 'on' in phpinfo(). ideas be? in advance.
use this class
for getting things dom url
like
$html = file_get_html("http://example.com"); echo $html;
php
Comments
Post a Comment