Results 1 to 2 of 2
Thread: Some PHP and MsSQL Questions.
Sep 27, 2000, 09:11 #1
Hi wondering if anyone could answer these few questions for me.
1 ) How can i use a password system with php?. i mean so that i can create an account and it saves it in a database. i have a basic idea after reading the tutorial on webmasterbase but would like some more pointers if possible.
2) How do i make it so people can upload certain files. Like i dont want people to upload .zip files how would i do this feature. id like to be able to edit these from an admin panel too.
thanks for any help given :-).
Sep 27, 2000, 09:41 #2
- Join Date
- Aug 2000
- Houston, TX, USA
- 11 Post(s)
- 0 Thread(s)
Well you can have the user add the name and password in a form and using the password() function actually encrypt the password before you insert it into the database. Exactly what kind of files do you want them to be able to upload? If it is a picture or something of the like I recommend the tutorial at phpbuilder.com about inserting Binary data into a database.
Hope that helps,