Menu
Code
[code=php]<?php
if (file_get_contents(“http://example.com/”)){
echo “Working!”;
}else{
echo “Why, why, why?”;
}
?>
For some reason I get error_message [B]Warning: file_get_contents([url]http://example.com/
Tried it without my own firewall.
In php.ini:
allow_url_fopen = On
safe_mode = Off
What is could be cousing this problem?
(And yes, I have tried it with n-number of url -> not working at my home computer, but works perfectly at server; so the problem is definetly at my computer, but…?)