我试图从我的一台服务器上传图像文件到另一台远程服务器(由我拥有)。但它给我的错误无法上传远程服务器上的文件
Warning: move_uploaded_file(http://www.mysite.org/photo/color-sample-colorize12-10-2010-09-14-09.jpg)
[function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections.
感谢您的任何建议或提前帮助
你知道HTTP的工作原理吗?好? – amphetamachine 2010-10-13 05:52:36
看一看类似的问题http://stackoverflow.com/questions/244752/what-is-the-best-way-to-move-files-from-one-server-to-another-with-php – Adnan 2010-10-13 05:59:56
@amphetamachine但是我同意你 - 程序员必须区分本地文件系统和远程守护进程,但是PHP开发人员几乎做了所有事情来隐藏与通常程序员的差异。 – 2010-10-13 06:07:06