User cannot download pdf files from folder

Discussion in 'PHP' started by Bishnu Sunuwar, Jun 25, 2010.

  1. #1
    Hi Everybody,

    I am having problem with php coding coz I mostly used classic asp in my career. The problem is that my predecessor has created a php website which is directly linked to a folder which consist of pdf files. In the webpage user can log into the directory and download pdf by clicking on the filename in recent days I have added new users in .htusers file so that they can also have access but the downloaded files cannot be opened by adobe reader. When I log in using old username and password its logs in and also I can read the pdf files. I added user into .htusers as following:-

    <?php $GLOBALS["users"]=array(

    array("test","f833913bea437bd3a2aaaf828b9b0ght","C:\inetpub\wwwroot\test","http://www.test.com/boardfiles/example",0,"^\.ht",0,1),
    ); ?>

    Thanks guys
     
    Bishnu Sunuwar, Jun 25, 2010 IP