ssamko Posted June 15, 2015 Share Posted June 15, 2015 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=123456How 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. Link to comment Share on other sites More sharing options...
Scripthen Posted June 15, 2015 Share Posted June 15, 2015 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. Link to comment Share on other sites More sharing options...
ssamko Posted June 15, 2015 Author Share Posted June 15, 2015 I want that only people who are registrated(on my web-page) will be able to start program after log in into it. Link to comment Share on other sites More sharing options...
Scripthen Posted June 15, 2015 Share Posted June 15, 2015 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now