Current location: Hot Scripts Forums » General Community » Script Requests » Password Protect Directory Using PHP


Password Protect Directory Using PHP

Reply
  #1 (permalink)  
Old 08-07-07, 02:37 AM
eddyvlad eddyvlad is offline
Wannabe Coder
 
Join Date: Sep 2003
Location: In The Bloody Pits Of Hell
Posts: 160
Thanks: 2
Thanked 0 Times in 0 Posts
Password Protect Directory Using PHP

Hi everyone...

I have a problem... I need to protect a directory. I know it can be done using .htaccess but this time, the username and password is stored in MySQL database. Is there a way I can use PHP to protect a directory?
__________________
Mr. Brown Eyes
Reply With Quote
  #2 (permalink)  
Old 08-07-07, 08:34 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
This may be what you are looking for:
http://www.phpdeadlock.org/
__________________
Jerry Broughton
Reply With Quote
  #3 (permalink)  
Old 08-07-07, 10:01 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
Moving thread to script requests.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Active Directory Authentication? scott2500uk Script Requests 2 07-18-07 06:57 AM
Password Protect Page Space Cowboy ASP 3 10-18-06 03:15 PM
Links Directory (php) with some specific features. Aquilo Script Requests 3 04-29-05 04:22 PM
Password Protect Upload Script epheterson PHP 4 04-07-05 11:30 AM
Problem reading/sorting a directory (PHP) ProdigySim PHP 1 06-27-04 12:46 AM


All times are GMT -5. The time now is 11:38 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.