SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Create a Log In

  1. #1
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Create a Log In

    I would like to create a log in for my web site, and not too sure how too do it

    Could some one please give me some advice

    Many Thanks

    Ben Hillsdon

  2. #2
    Who is Mr Blonde? Mr Blonde's Avatar
    Join Date
    Sep 2006
    Location
    Gold Coast, QLD
    Posts
    359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can do it in php but if your not familiar with it then it could be a bit overwhelming.
    Heres an article on how to create one, if you need a hand people in the php forum could probably help you out.
    Heavens Rejects : Online Clothing Store
    Alternative Clothing : Mr Blonde
    Front end development : By the Webfella

  3. #3
    SitePoint Member
    Join Date
    Aug 2006
    Location
    in your dreams
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good q, Ben. i have the same question in mind and i dont know how to use PHP.

    though thanks to MrBlonde for that very handy article.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    UK
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    htaccess is another way to secure pages in directories - it is fairly simple and there are plenty of tutorials around - here are a couple to get you started:

    http://www.freewebmasterhelp.com/tutorials/htaccess/

    http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html

    PHP logins are quite simple to do using sessions - this is a simple tutorial but if I have time over the weekend I will post some tried and tested code:

    http://www.digiways.com/articles/php/sessauth/
    Design is an art... Then someone releases a new browser...

    Farstate Applications

  5. #5
    Who is Mr Blonde? Mr Blonde's Avatar
    Join Date
    Sep 2006
    Location
    Gold Coast, QLD
    Posts
    359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh yeah didnt think of that... if its a section of the site where you set the user and password (eg admin) then if you using cPanel they have an easy function to password to protect a directory... no coding invloved.

    im pretty sure plesk would have a similar option too.
    Heavens Rejects : Online Clothing Store
    Alternative Clothing : Mr Blonde
    Front end development : By the Webfella


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
  •