Menu

using PHP variables

Help
Jordan
2005-07-01
2013-04-23
  • Jordan

    Jordan - 2005-07-01

    I have a folder containing PDFs that I would like to protect using .htaccess and, preferably, mod_auth_mysql. I already have a database of usernames and passwords, and have the user log in via PHP. I was wondering if I could use a posted variable instead of making the user log in through the .htaccess pop-up window. I appreciate any help!

    Sincerely,

    Jordan

     
    • Jerry Stuckle

      Jerry Stuckle - 2005-07-01

      Jordan,

      Sorry, no.  While we have access to some of the information in the request, we don't have (AFAIK) the post data available.

      BTW - using POST values isn't secure.  For instance - I could save your page on my computer then download the files any time I wanted without signing in.

      Jerry

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.