function uploadStart() {
swfu.addPostParam("PHPSESSID", "<?php echo session_id(); ?>");
swfu.addPostParam("photonum", "1");
swfu.addPostParam("itemid", "<?php echo $row[id]; ?>");
}
OR
function uploadStart() {
this.addPostParam("PHPSESSID", "<?php echo session_id(); ?>");
this.addPostParam("photonum", "1");
this.addPostParam("itemid", "<?php echo $row[id]; ?>");
}
以上代码不起作用! upload.php脚本不接收$ _POST [itemid]或任何其他参数。
请帮忙。
答案 0 :(得分:2)
忘了设置:
upload_start_handler : uploadStart