日期:2014-05-17 浏览次数:20681 次
upload_url: "upload.php",
post_params: {"PHPSESSID" : "<?php echo session_id(); ?>"},
file_size_limit : "2048",
file_types : "*.jpeg;*.jpg;*.bmp;*.png;*.gif;*.flv;*.mp4;*.wma",
file_types_description : "允许上传的格式",
file_upload_limit : "100",
file_queue_limit : "0",
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
} else if (isset($_GET["PHPSESSID"])) {
session_id($_GET["PHPSESSID"]);
}
$img_path = '/uploads/';
session_start();