2011-01-22 23 views

回答

0

好吧,我不得不做的是設置操作文件是php.php,從服務器目錄 ;-)

TNX給所有人!

2

PHP將上傳的文件列表放到$ _FILES全局變量中(請參閱文檔:http://www.php.net/manual/en/features.file-upload.post-method.php)。

可以遍歷上傳這樣的文件:

foreach($_FILES as $file) { 
    // $file['tmp_name'] is where the file resides on the disk 
    // use move_uploaded_file() to move it elsewhere 
    // $file['name'] is the name of the file on the sender's computer 
} 
+0

明白,但他們的(形式)名稱是什麼? – user198003 2011-01-22 17:23:43

0

行動:../server/php.php

文件將使用演示時,在server/uploads,確保你在這個目錄CHMOD 777

相關問題