Jump to content

User Sign Up and Log In


AutoItKing
 Share

Recommended Posts

Put the user info in INI's instead of using a database server.

It will store the user info in a folder of your choice specified in the config.ini file.

It will also encrypt the password with the password. So in order to find out what the password is, you need to know the password.

You can change the login2 area at the bottom of the code to w/e your site is. But keep the code that is already there.

Enjoy! (please)

ReadMe:

In order for this script to work you will need Web Based AutoIt. You may use any CGI enabled server.

You must:

  • create a folder to put the INI's in. This is where it will store the INI's.
  • create an INI with the name "config" in the same directory as the au3 file(s).
The INI structure:

[config]
usersdir=C:\users\;or where ever else you put it.

Download:

Single File:

singlefile.au3

Four Files:

- Ask me for it.

Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

What, no replies? You people hate me. HATE ME!!! I'm gonna go cut myself now.... ok maybe not. But seriously.

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

I can't since I am behind a router, and not allowed to port forward.

Educate yourself here.

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

I could make it one file myself. But for now it will remain in four! I'll do it later.

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

No, he wants to "show" me how to do it. Not do it himself. :whistle:

And I'm doing it myself right now.

Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

No, he wants to "show" me how to do it. Not do it himself. :whistle:

And I'm doing it myself right now.

wow that was fast, I though you was gonna wait a while XD, But you didn't want him to steal your fame ofc :P

Edited by Cookie20
Link to comment
Share on other sites

Nah, I'm just so god damn bored. But I finished. See the first post please!

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

Made some important changes to both versions.

Edited by AutoItKing
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

A couple critcal issues

  • Anyone who knows the username of someone can get there password
  • Passwords aren't encrypted
Making it a very easy to beat system. I used MD5 to encrypt the passwords then compare them to the stored vers. Also keep the users/ out of the public web folder.
Link to comment
Share on other sites

I fixed it. It will now store the user info in a folder of your choice specified in the config.ini file.

It will also encrypt the password with the password. So in order to find out what the password is, you need to know the password.

Hope that helps!

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

I'm starting to use sessions for this, I should be able post an example within a week or so.

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

  • 2 weeks later...

I'm starting to use sessions for this, I should be able post an example within a week or so.

Ok then, apparently I'm having some difficulty with this. I'm working on a whole profile system for it, and it's a lot of work. Maybe I should just stop.
http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...