About SaveDirectory

  •  10-25-2012, 8:39 PM

    About SaveDirectory

    Hi

     

    We need help to define the savedirectory. In the test, we put test.php and phpfileuploader to c:\phptest\fileupload. add myfolder under fileupload. If set SaveDirectory = "myfolder" ($uploader->SaveDirectory="myfolder";), then file uploading works fine. 

     

    However, if we set up another myfolder directly under phptest (c:\phptest\myfolder), how can I define the SaveDirectory? I tried the following:

     

    $uploader->SaveDirectory="../myfolder"; 

     

    It fails. Can some advise? Thanks. 

    Filed under:
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems