一起使用我正在使用Avairy编辑器来编辑照片。编辑后我想将该图像复制到我的文件夹,但它不是复制。副本()不能与Aviary photoeditor
这是使用复制功能我的代码
copy("http://featherfiles.aviary.com/2013-06-29/c-4n02w430qUbilqgQgRJw/23df66d714074321bb256a6e9ab4bf27.jpg","/home/content/04/8643604/html/iguanapaint/wp-content/uploads/2013/06/23df66d714074321bb256a6e9ab4bf27.jpg")
我也试图与的file_get_contents
file_put_contents("/home/content/04/8643604/html/iguanapaint/wp-content/uploads/2013/06/23df66d714074321bb256a6e9ab4bf27.jpg",file_get_contents("http://featherfiles.aviary.com/2013-06-29/c-4n02w430qUbilqgQgRJw/23df66d714074321bb256a6e9ab4bf27.jpg"));
目录的权限都很好becuause当我复制该文件,而不编辑它的观鸟园,它很容易复制。
请帮忙。谢谢!!!
太糟糕了,您还没有启用'error_reporting'来告诉我们一些比它“不工作”更多的信息。 – mario
@mario我没有明白你的意思? – user2307273
确保在php.ini中'allow_url_fopen'设置为'On',通常是阻止从远程位置复制文件 – n1te