SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Technics's Avatar
    Join Date
    Aug 2000
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 :-).

  2. #2
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    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,


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •