|
my first post
hi im very new to php and d-a-l i was goin through the posts they are really good!
i was thinking of trying to write a webpage that could would a simple, plain, user name and password field.
then, depending on the username, the "ok" button will redirect to a specific file on the server for download, thus not allowing the other user names to access files that are not for them.
let's say we have folder "asd" with three files in it.
asd
- file1.txt
- file2.txt
- file3.txt
very simple! how could i go about it? should i try in php or in javascript? how about security? im not asking for code guys, just some advice! Would i need a text file sitting somewhere that would contain the list of usernames and their correspondent passwords?
Thank you in advance guys.
__________________
Regards, DB.
|