<?
//$absolute_path = "/usr/apache/htdocs/uploadim"; //Absolute path to where files are uploaded
if($extensions==".gif"||$extensions==".jpg"||$extensions==".jpeg"||$extensions==".png"){
$absolute_path="/keep/pic/";
}
if($extensions==".exe"){
$absolute_path="/keep/program/";
}
if($extensions==".mp3"){
$absolute_path="/keep/mp3/";
}
if($extensions!=".gif"||$extensions!=".jpg"||$extensions!=".jpeg"||$extensions!=".png"||$extensions!=".exe"||$extensions!=".mp3"){
$absolute_path="/keep/etc/";
}
$size_limit = "no"; //do you want a size limit yes or no.
$limit_size = "1048576"; //How big do you want size limit to be in bytes
$limit_ext = "no"; //do you want to limit the extensions of files uploaded
$ext_count = "11"; //total number of extensions in array below
$extensionss = array(".gif", ".jpg", ".jpeg", ".png" , ".mp3" , ".exe" , ".zip" , ".rar" , ".txt" ,
".doc" , ".php"); //List extensions you want files uploaded to be
?>
ผิดตรงไหนอ่ะ ทำไมมันเข้าไปอยู่ใน case สุดท้ายหมดเลยอ่ะ บอกหน่อย