Re: PHPfileuploader errors

  •  06-23-2009, 9:10 PM

    Re: PHPfileuploader errors

    Hi Adam,
     
    After a bit of manipulation of the php scripts I've finally got it working.
     
    In include_phploader.php I had to modify the GetSystemTempFolder function....
     
    on my host system the upload_tmp_dir is null so I had to modify the path to my tmp folder
     
            if($str==null||strlen($str)==0)
                $str="/home/charterh/tmp";
     
    and then in the single/multiplefiles scripts I had to use
     
    $mvcfile->MoveTo("/home/charterh/uploads/".$mvcfile->FileName);
     
    instead of
     
    $mvcfile->MoveTo("/uploads");
     
    Make sense?
     
    Regards,
    Cary
View Complete Thread