-
ببخشيد يه توضيحي در مورد اين كد ها مي شه بديد من متوجه نمي شم اينا چيكار مي كنن
کد:
// Function to get the extension a file.
function get_ext($key) {
$key=strtolower(substr(strrchr($key, "."), 1));
// Cause there the same right?
$key=str_replace("jpeg","jpg",$key);
return $key;
}
$ext_count=count($allow_types);
$i=0;
foreach($allow_types AS $extension) {
//Gets rid of the last comma for display purpose..
If($i <= $ext_count-2) {
$types .="*.".$extension.", ";
} Else {
$types .="*.".$extension;
}
$i++;
}
unset($i,$ext_count); // why not
$error="";
$display_message="";
$uploaded==false;
-
مشكل اين پستم حل شد ! در مورد كد هاي پست بالا اگه ميتونيد توضيح بديد لطفا !
موفق و پيروز باشيد
جاويد
-
آقا جاوید کدهات مشکل ندارن چی می خوای بدونی راجب شون؟؟