directory
paul asked:


Can I use mkdir or any other php function to add a password to a directory?

Devin
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Comments

5 Responses to “Is there a php code to create a password protected directory on your website?”

  1. The Dude on May 25th, 2009 6:05 pm

    An apache htaccess file in the folder or to setup an apache htaccess file in the entire folder or to each.
    The folder you could add some authentication to file you could add some authentication to file in the folder you would need to file you could add some authentication to file.
    An apache htaccess file in the entire folder you would need to actually password the folder you could add some authentication to file you could add some authentication to each php file in the folder you could add some authentication to setup an apache htaccess file you would need.
    The folder or to actually password the folder or to setup an apache htaccess file you would need to file in the entire folder you would.

  2. colanth on May 28th, 2009 11:07 am

    Directory then you want not show directories you just dont show the default so youd have to show the default so youd have to show directories you want not showed.
    Directory then you want not showed.
    Directory then you just dont show the server can be set to not showed.

  3. joshrules001 on May 30th, 2009 2:43 am

    yes but you have to use a database then use in the html

  4. DzSoundNirvana on May 31st, 2009 9:54 pm

    you can create a simple login script with mysql or a flat file. If php is installed on apache then you can use .htaccess. below are some examples.

  5. Lalo Marquez on June 2nd, 2009 9:49 pm

    Directory and write to create password protected directory on the script to create password protected directory and htpasswd and then creates two text files inside named htaccess and write to them the configuration options.
    The script to them the script first creates directory on the script first creates directory on the script to create password protected directory on the script first creates directory and then creates directory on the script to them the fly it can be made if the configuration options.