|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Login using a text file
Hi,
I need to create a php login file which will allow users to login to a part of a website but instead of using a database it will use a text file. Which will have all the usernames and passwords in it. I have looked around the net for some examples but can't seem to find any. Could someone please either help me out or point me to an article that can. Thanks for your time. |
|
#2
|
||||
|
||||
|
You might consider just using .htaccess files to control access -- at least passwords would be encrypted in that case.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
Thanks for that, l never thought about doing it that way. Here is an article l found on it for anyone else who wishes to use this method:
Creating password protected folders using htacces ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Login using a text file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|