Posted by WJ on 12/13/06 22:41
ZeldorBlat schreef:
> WJ wrote:
>> Hi all,
>>
>> Can anyone tell me if it is possible to call a link to a file on the
>> internet and to download the file automatically? Any sample code?
>>
>> Thanx,
>> WJ
>
> $link = 'http://www.foo.com/bar.html';
> $contents_of_file = file_get_contents($link);
>
When I run the script on my local server (whit an existing URL) I get
the message: Internal Server Error
Is this a configuration problem?
Navigation:
[Reply to this message]
|