Jump to content

sdc121

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. thanks for getting back to me, do you now the best and most sacure way to sacure a website directory using MYSQL?
  2. Hello, i have been learning PHP and starting to ue mySQL i have read and found coding that .htaccess can read username and passwords on mySQL but i can not get it working, below i hae add the coding that i have found if anyone can help me out i would be very greatful AuthType Basic AuthName "Restricted Area" Auth_MYSQLhost mysql.uk.clara.net Auth_MYSQLusername ***** Auth_MYSQLpassword ***** Auth_MYSQLdatabase database Auth_MYSQLpwd_table login Auth_MYSQLuid_field username Auth_MYSQLpwd_field password Auth_MYSQL_EncryptedPasswords off require valid-user when i upload this to the website to does not bring up and username and password box like it should, i have been using .htaccess with .htpasswd for a few years now and that works correctly.
×
×
  • Create New...