標題:
判斷暫存檔有無存取成功
[打印本頁]
作者:
may
時間:
2011-5-29 11:16
標題:
判斷暫存檔有無存取成功
<?
$up_dir = "./upload/";
$to = iconv("UTF-8","BIG5",$_FILES["myfile"]["name"]);
$up_file = $up_dir.$to;
// $up_file = $up_dir.$to = iconv("UTF-8","BIG5",$FILES["myfile"]["name"]);
// 判斷暫存檔有無存取成功
if(move_upload_file($_FILES["myfile"]["tmp_name"],$up_file)){
}
?>
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2