Re: Unable to get file name of uploaded file

  •  09-24-2011, 7:08 AM

    Re: Unable to get file name of uploaded file

    Hi
     
    I used your file :
    ---------
    <script type='text/javascript'>
    function CuteWebUI_AjaxUploader_OnTaskComplete(task)
    {
    var div=document.createElement("DIV");
    var link=document.createElement("A");
    link.setAttribute("href","admin/testUploader/myprefix_"+task.FileName);
    link.innerHTML="You have uploaded file : savefiles/myprefix_"+task.FileName;
    link.target="_blank";
    div.appendChild(link);
    document.body.appendChild(div);
    }
    </script>
    ------------
    Could you tell me how can I get FileName and put it in : <?php $fileUploaded = 
    task.FileName;  ?>
    many thanks in advance
    regards
    Attourath 
     
     
     
     
     
View Complete Thread