Php Uploader not working

Last post 10-15-2012, 9:51 AM by Kenneth. 2 replies.
Sort Posts: Previous Next
  •  10-14-2012, 5:48 PM 74978

    Php Uploader not working

    Hi i am trying to install Your PHP uploader on a clients website, Firstly i copied all the files from the zip folder to the server and tried the demo but nothing happend! when i press the Upload button no File Browser window appears! The client has already purchased a license so i placed the .lic license folder but it is still not working! Any ideas what could be going wrong?
    Filed under:
  •  10-15-2012, 4:58 AM 74984 in reply to 74978

    Re: Php Uploader not working

    I have had a look into it more and the script is using the absolute path when it is generating the demo pages so for example <script type='text/javascript' src='homepages/22/d378569747/htdocs/mysite/up/phpuploader/ajaxuploaderresource.php?type=script'>

    any ideas how i can fix this? 

  •  10-15-2012, 9:51 AM 74985 in reply to 74984

    Re: Php Uploader not working

    Hi cookiimonstar,

     

    Please try the way below

     

    1. Open file "\phpuploader\include_phpuploader.php"

    2. Find section below


    $cd=dirname($this->GetWebPath(__FILE__));


    3. Change it to

    $cd=dirname($_SERVER['SCRIPT_NAME']).'/phpuploader';

     

    Regards,

     

    Ken


     

View as RSS news feed in XML