請幫忙圖像不能在服務器上載,我 PHP代碼: -webrivers - 我無法在服務器上傳圖片?
$gallery_image = $_FILES['image'] ['name'];
$image_tmp = $_FILES['image'] ['tmp_name'];
move_uploaded_file($image_tmp, "../extra_images/$gallery_image");
我的錯誤是: -
PHP Warning: move_uploaded_file(../extra_images/brand-04.jpg): failed to open stream: Permission denied in G:\PleskVhosts\luisant.in\vethathirimaharishischool.org\admin\gallery.php on line 129
PHP Warning: move_uploaded_file(): Unable to move 'C:\Windows\Temp\php4118.tmp' to '../extra_images/brand-04.jpg' in G:\PleskVhosts\luisant.in\vethathirimaharishischool.org\admin\gallery.php on line 129
'在G:\ PleskVhosts \ luisant.in \ vethathirimaharishischool.org \ admin \ gallery中拒絕了權限。 php on line 129' 你有權限寫tmp文件夾嗎? – marmeladze
錯誤清楚地顯示,有權限問題 –
對不起,我不明白。, –