Sign in to follow this  
Followers 0
AutoItKing

User Sign Up and Log In

23 posts in this topic

#1 ·  Posted (edited)

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]

Share this post


Link to post
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]

Share this post


Link to post
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.

maybe you can make a web example :whistle: and I don't know were to get the web include or is that were I put my website name

Share this post


Link to post
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]

Share this post


Link to post
Share on other sites

I'll set up a live demo later.

Share this post


Link to post
Share on other sites

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

Educate yourself here.

I got wireless connection that is behind a router so I don't think it will work for me

Share this post


Link to post
Share on other sites

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

Why not let D-Generation make it into one file? I mean if he really wants.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

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]

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

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]

Share this post


Link to post
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.

Share this post


Link to post
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]

Share this post


Link to post
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]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
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
Sign in to follow this  
Followers 0