开发者

copy file in PHP

开发者 https://www.devze.com 2023-02-17 20:18 出处:网络
I\'m tryi开发者_开发百科ng to copy some images from a public website with the PHP function copy(), but this function take too much time, and sometimes I get Maximum execution time Fatal error. I\'ve i

I'm tryi开发者_开发百科ng to copy some images from a public website with the PHP function copy(), but this function take too much time, and sometimes I get Maximum execution time Fatal error. I've increased the maximum script running time to 3minutes, but I still get that error sometimes.

I'm curious to know if is there another better/smarter solution for copying/downloading files.


Using curl: http://www.google.com.br/search?q=curl+php+download+image

0

精彩评论

暂无评论...
验证码 换一张
取 消