Jump to content
ssamko

SQL database

Recommended Posts

ssamko

HeIlo !

I just want to connect to SQL database and find out if written user name and password(in autoit GUI) exist there ...if it is true than program will start.

For example: database name= db_users , user name= John, Host=sql2.webzdarma.cz  , and password=123456

How would script look like ? With query to databe which will find out if (for example user) exist.

Thanks !

PS: I tryed to google it but that examples I have found didnt work for me. 

Share this post


Link to post
Share on other sites
Scripthen

Will the username & password be able in the database and you want to find out if they user has logged in or something? What is your script so far?

For security, if you made the log in system, you should really add encryption.

Share this post


Link to post
Share on other sites
ssamko

I want that only people who are registrated(on my web-page) will be able to start program after log in into it.

Share this post


Link to post
Share on other sites
Scripthen

This can be added in to your script that logs people in.

It's not advised to do it on the server back-end as malicious code can compromise your server.

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

×