What is the simplest way to download file in PHP
Posted
by silent
on Stack Overflow
See other posts from Stack Overflow
or by silent
Published on 2010-04-08T23:27:20Z
Indexed on
2010/04/08
23:33 UTC
Read the original article
Hit count: 280
Hi all,
I need to download an image from some URL to my server. However, my server's config disallowed me to do it this way:
getimagesize( $file );
Because, it generate error:
Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in somefile.php on line 10
So, is there another way I can use that doesn't require external library?
© Stack Overflow or respective owner