i have tried this example from php.net tutorial
and i have gotten this answer from server:
Fatal error: Call to undefined function http_get() in /home/ *** .php on line 2
why doesn't http_get() work?
i am user of free hosting and i can not find restrictions of free hosting. maybe i have made a mistake...
PHP:
<?php
$response = http_get("http://www.example.com/", array("timeout"=>1), $info);
print_r($info);
?>
and i have gotten this answer from server:
Fatal error: Call to undefined function http_get() in /home/ *** .php on line 2
why doesn't http_get() work?
i am user of free hosting and i can not find restrictions of free hosting. maybe i have made a mistake...