Results 1 to 10 of 10

Thread: Signup Script

  1. #1
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default Signup Script 18 Mar 2009 @ 09.49

    ok, just about to start doing a website ive been thinking about for well over a year.. its rather complex compared to anything I have ever done before, and its my first foray into MySQL databases.

    I have gone through a number of websites looking for php signup scripts (no need to create the wheel right) and found the following 2 which are good:

    PHP Login script tutorial
    http://www.evolt.org/PHP-Login-Syste...Admin-Features

    The later is pretty good, but its from 2004, and with PHP5 being out now I dont think it would be wise to use it.

    Anyone got any suggestions on a script to use?
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  2. #2
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default 18 Mar 2009 @ 11.04

    hehe well hack and slashing code together.. ive got together a login section, signup section and lost password section.. all with encrypted passwords... so I think I may not actually need much else at the moment
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  3. #3
    Administrator WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,969
    Blog Entries
    3

    Default 18 Mar 2009 @ 11.18

    As you say, why reinvent the wheel ;o)

    PHP5 Login Script » Products » Crisp Webdesign
      Reply With Quote

  4. #4
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default 18 Mar 2009 @ 11.29

    Thanks welshstew, have you used it?

    £2.50 cant complain and may give it a whirl.

    I am having a bit of a whirl creating my own script, always good to spend some time learning.
    Last edited by Tom; 18 Mar 2009 at @ 11.48.
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  5. #5
    Administrator WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,969
    Blog Entries
    3

    Default 18 Mar 2009 @ 12.15

    Totally agree with you.

    I haven't used it myself, as everything I have built has used either a cms or not required a login function.
      Reply With Quote

  6. #6
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default 18 Mar 2009 @ 14.20

    Hehe well getting there now

    When signing up will check if user already exists, if it is banned and if the passwords match, if not it will fail. get new password, login and signup done..

    \o/
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  7. #7
    skunkbad
    Guest skunkbad's Avatar

    Default 21 Mar 2009 @ 06.43

    This script is one of the best I have seen online, but by briefly reviewing it, I believe it could benefit from at least a couple of enhancements. Session IDs being regenerated often seems to be the norm when considering a session fixation attack, and this script never regenerates IDs. This is an easy fix. Also, the script doesn't count unsuccessful login attempts, or try to block logins after X amount of unsuccessful logins. If a person/bot was trying to guess usernames and/or passwords, the login system would ideally place either the login name or their IP address on hold for X amount of minutes. Another problem, unless I just missed it, was that there is no protection against session hijacking. The norm is to use some sort of token, and I don't see any. Perhaps I should take a closer look at the code?

    I think the script is a great starting point, and is worth a lot compared to most login systems/classes I've seen. Familiarizing yourself with the script, and building upon it would certainly produce a solid authentication system that you could count on.

    I've sort of been advertising that I would like to combine forces with other developers to create a rock solid login system, with any and all common features, and release it as open source. I've got a code foundation done already, and if anyone is qualified, and interesed in such a project, feel free to contact me through my website. (link in sig). I'd be interested in hearing from ethical hacker types too. My code is procedural, and I'm not necessarily interested in making it object oriented, but if you are an OOP master, perhaps you would like to do a conversion. I'm not opposed to OOP, but I just prefer procedural.
      Reply With Quote

  8. #8
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default 26 Mar 2009 @ 22.43

    how do skunkbad, i would like to help but i know little about php so my coding skills would do little to help.

    That script is really good, but I dont like to use peoples code blindly, much prefer to follow a tut and then chop and change things where needed, helps me learn.

    Ill be working on my script again next once, once ive got most of it settled ill be turning as much as I can into functions (my first ever) and then ill be adding some ajax into the form to do validation etc.
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  9. #9
    Tom
    Tom is offline
    Trusted Guru Tom's Avatar
    Join Date
    Jan 2009
    Posts
    1,022
    Blog Entries
    16

    Default 1 Apr 2009 @ 14.01

    Just came across this rather good tutorial on creating ACL (Access Control List) which is pretty interesting:

    A Better Login System - Nettuts+

    Will hopefully get some time to work on my script some more, ill show you all once its done.
    Inexpensive Themes <<-- Affiliate link but it won't cost you.
      Reply With Quote

  10. #10
    Administrator WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,969
    Blog Entries
    3

    Default 1 Apr 2009 @ 19.28

    Cool, thanks for that, good reading.
      Reply With Quote

Similar Threads

  1. shopping cart script
    By silversurfer5150 in forum PHP, ASP & Java
    Replies: 4
    Last Post: 7 Feb 2011, @ 07.35
  2. having trouble with a jquery script
    By ljackson in forum Javascript Libraries
    Replies: 9
    Last Post: 28 Jul 2010, @ 16.52
  3. Best comment box script?
    By trixiemay in forum Javascript Libraries
    Replies: 1
    Last Post: 25 May 2010, @ 09.58
  4. Image Transition script
    By MinatureCookie in forum Javascript Libraries
    Replies: 0
    Last Post: 15 Dec 2009, @ 22.29
  5. Quiz Script
    By Michael in forum Javascript Libraries
    Replies: 5
    Last Post: 5 Apr 2009, @ 23.59

Tags for this Thread

Posting Permissions

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