Re: hooked this up and then it suddenly stopped working

  •  12-28-2009, 1:29 AM

    Re: hooked this up and then it suddenly stopped working

    i have the same issue i don't know if this is what he/she is experiencing.
     
    It is working them sometimes not.. sometimes it prompts me an error then sometimes continues. Sometimes it also allows me to choose multiple files then will not allow sometimes. What could be the problem in here? Please see below for my deployment codes. 
     
     
    <?php require_once "phpuploader/include_phpuploader.php" ?>   
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">   
    <html xmlns="http://www.w3.org/1999/xhtml">   
    <head>   
        <title>Demo 1 - use SaveDirectory property</title>   
    </head>   
    <body>   
        <div>   
           
    <hr/>   
           
        <?php   
            $uploader=new PhpUploader();   
               
            $uploader->MultipleFilesUpload=true;   
            $uploader->InsertText="Select multiple files (Max 1000M)";   
               
            //$uploader->MaxSizeKB=1024000000;   
            //$uploader->AllowedFileExtensions="*.jpg,*.png,*.gif,*.bmp,*.txt,*.zip,*.rar";   
            //$uploader->AllowedFileExtensions="*.*";   
            $uploader->AllowedFileExtensions=".txt";   
            $uploader->SaveDirectory="savefiles";   
               
            //$uploader->FlashUploadMode="Partial";   
               
            $uploader->Render();   
               
        ?>   
           
        </div>   
               
        <script type='text/javascript'>   
        function CuteWebUI_AjaxUploader_OnTaskComplete(task)   
        {   
            var div=document.createElement("DIV");   
            var link=document.createElement("A");   
            link.setAttribute("href","savefiles/"+task.FileName);   
            link.innerHTML="You have uploaded file : savefiles/"+task.FileName;   
            link.target="_blank";   
            div.appendChild(link);   
            document.body.appendChild(div);   
        }   
        </script>   
           
    </body>   
    </html> 
     
    Thanks in advance. :)
View Complete Thread