Search
Archives
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
Categories
- Business
- Computer Networking
- Computers
- Ecommerce
- External Mail (POP)
- Internet
- Languages
- Marketing
- Online Business
- Online Education
- Other - Computers
- PHP Books
- Php Scripts
- Primary & Secondary Education
- Programming
- Programming & Design
- Security
- Seo
- Software
- Technology
- Uncategorized
- United States
- Web Design
- Web Hosting
- Wordpress Themes
nintendo ds console | psp memory card | breast pump


5 Comments to 'Is there a php code to create a password protected directory on your website?'
March 24, 2010
PHP is spesific to a file. You could add some authentication to each php file in the folder, or to actually password the entire folder, you would need to setup an apache htaccess file
March 26, 2010
The server can be set to not show directories at all (that’s usually the default), so you’d have to use php to show the directory. Then you just don’t show the directories you want not showed.
March 29, 2010
yes but you have to use a database then use in the html
March 29, 2010
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.
March 31, 2010
For what I read, I think what Dsfasdf A is looking for is a way for a script to create a password protected directory on the fly. It can be made, if the script first creates a directory, and then creates two text files inside named .htaccess and .htpasswd and write to them the configuration options.
Leave a comment