- <form id="form1" method="POST">
- MaxSizeKB=10240;
- $uploader->Name="myuploader";
- $uploader->InsertText="Select multiple files (Max 10M)";
- $uploader->AllowedFileExtensions="*.jpg,*.png,*.gif,*.txt,*.zip,*.rar";
- $uploader->MultipleFilesUpload=true;
- $uploader->Render();
- ?>
-
- </form>
-
-
-
-
- GetUploadedFile($fileguid);
- if($mvcfile)
- {
- $mvcfile->MoveTo("/home/ftp/iphone4tw/attach/test/uploads/iPhone4TW-".date("H-i-s")."_".$mvcfile->FileName);
- }
- }
-
- }
- ?>
-
- <script type="text/javascript">
- function CuteWebUI_AjaxUploader_OnTaskComplete(task)
- {
- var div=document.createElement("DIV");
- div.innerHTML=" [ img]http://attach.iphone4.tw/test/uploads/" + task.FileName + "[/img]<br>";
- document.body.appendChild(div);
- }
- </script>
I have problem to show the final file name here , and file lsit suddenly gone forever
here is my test page , pls advise , thanks