Reply to Re: Trapping file_get_contents for bad urls
Posted by Mara Guida on 12/11/05 03:05
Csaba Gabor wrote:
> I've got a section of code that takes a user supplied $url and
> essentially does:
> function redirectRequest($url) {
> $resultRemote = @file_get_contents($url);
> return $resultRemote; }
<snip>