我試圖從我的一臺服務器上傳圖像文件到另一臺遠程服務器(由我擁有)。但它給我的錯誤無法上傳遠程服務器上的文件
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