Welcome to WebmasterWorld Guest from 188.8.131.52
I'm experiencing a strange problem working with the file_get_contents function :
If I enter directly the URL, it's working fine :
$data = file_get_contents("http://www.domain.com/image.ashx?1234");
But, if I put the URL into a variable, it's not working anymore :
$url = "http://www.domain.com/image.ashx?1234";
$data = file_get_contents($url);
Thanks in advance for your help.