Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autoit and remote connection to mysql database

Discussion on Autoit and remote connection to mysql database within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Autoit and remote connection to mysql database

Hi
I want to make a small program in autoit.

Main function of program is to have
- login ( when user enters data in input fields username and password connect to remote mysql database, find username, password, id, banned fields and check data that user enterd with data on mysql server, check if user is banned or not )
- detect file in windows and when he find a file to store file path to registry
- on start button ( show only if user is logged ) start file path game
- if game runs take screenshoots and send to remote server map where logged in user id is equal to map name on server
- need to take screens random time ( 5sec, 50 sec, 20 sec, 80 sec ) an upload it automatic on server map

So my question is
-is autoit can connect to mysql on remote server,
-can i compare data from mysql database with this one from input fields in login form of program
-can screenshoot-s can be uploaded directly to map on host without ftp data
mlukac89 is offline  
Old 08/17/2014, 00:35   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 41
Hi,

as far as I know AutoIT itself only supports SQLite,
but there´s an MySQL UDF to solve it.


If you include the MySQL UDF, you can connect on the MySQL-Server,
additionally the UDF supports a _Query()-function, so you can use regular SQL-Statements.

But I would advise you to write php-files for the SQLConnection.

PHP File:

The AutoIT-Code:

If you Connect to your datebase directly from AutoIT, you need your MySQL-Connection data in your au3-file,
but autoit-scripts aren´t really hard to decompile, so everyone who decompile your scripts can connect on your database.


To upload something, you can use the FTP-protocol,
to connect you need login data to the ftp server.
The only way to connect / upload without data is, if your ftp-server accept guest login and the guest becomes permissions to write data (I wouldn´t recommend it).
nofuture is offline  
Old 08/17/2014, 01:08   #3
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
never put a mysql connection in a script use a server with php
YatoDev is offline  
Old 08/17/2014, 07:55   #4
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Ah i see, so this is not secure way to do it

thx for answers
mlukac89 is offline  
Reply


Similar Threads Similar Threads
Autoit Daten -> MySQL Database = ERROR?!
12/02/2012 - AutoIt - 4 Replies
Haha ich bins mal wieder :D ich habe mal eine frage.. :O unzwar beschäftige ich mich mit Autoit & Mysql und habe einige probleme wie z.b.: ID = Admin Pass = 123456 ####### $ID = inputbox("","") $Pass = inputbox("","")
Keynote alternatives and mobile remote connection programming
10/09/2012 - General Coding - 2 Replies
well mainly guys i should not be posting it here but i dun have another place to post it at so let it be i got a real big presentation in couple of weeks and i've heard of this Apple - iWork - Keynote - Create captivating presentations easily. yup indeed it's stunning , well i was searching for alternatives but it was pretty confusing and couldn't get to find any so yup mainly i need an alternative to this to work with windows and nokia device (N8) else i want to create an application...
How to remote connect to mssql database?
10/29/2011 - SRO Private Server - 3 Replies
How can I connect to dedicated server's mssql database? sqlserver2005 express edition + sql managment studio installed on both computer (dedi server and my pc) sqlbrowser enabled and running tcp/ip enabled, remote connections enabled i tried connecting like serverip:port serverip\sqlexpress serverip:port\sqlexpress serverip
Error MySQL Connection and New Database
11/24/2008 - CO2 Private Server - 8 Replies
My first problem: I'm trying to remake another server using LOTF this time, but now when I try to open up the localhost connection in MySQL I get this error: 2003 - Can't connect to MySQL server on 'localhost' (10016). I remember this error happened to me before as well, but I forget what exactly I did to fix it because it was working later on. If I can't open the connection then I can't make a new database. My second problem: When I go here "http://localhost/phpmyadmin" The page cannot be...
Ascent WoW Server Remote Connection
10/07/2008 - World of Warcraft - 0 Replies
I'm running the Arc Emu WoW Server Emulator, World of Warcraft v2.4.3, I can connect fine but for the life of me and can't figure out how to let my friends connect via a Hamachi VPN over the internet. Help? *Thread name was a mistake, i just changed emulators. ** They get to the 'Select Server' section, and the server is there as an option but it dosen't load to the character creation stage.



All times are GMT +1. The time now is 03:13.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.