Remove function Dosent work in example Building attachment table (AJAX) if savedirectory option is used

  •  11-02-2010, 12:49 AM

    Remove function Dosent work in example Building attachment table (AJAX) if savedirectory option is used

    In following example

    Building attachment table (AJAX)

    i want to save uploaded file in some directory, and from the table create with download and remove link, i should be able to remove the file from the directory where i have saved the uploaded image, so i added
     
    $uploader->SaveDirectory="E:/SERVER/Program Files/Apache Software Foundation/Apache2.2/htdocs/myfolder123/post_images/";
     
    it saves the file in above mentioned folder but the FilePath in the table displayed with "remove" option is not updated to these path and hence the remove link dosent delete file from above savedirectory path
     
    pls guide how can i achieve this
     
    - prad
     
View Complete Thread