Jump to content

AutoIT MySQL and PHP!


xwinterx
 Share

Recommended Posts

Of course there is a lot easier way now that I have done this the hard way:

$filename =  @TempDir & "/data"
inetGet( "http://www.gypsytrader.com/AutoIt/au3PHPmySQL/au3PHPmySQL.php?action=dump", $filename)
$data = FileRead($filename, FileGetSize($filename))
FileDelete($filename)
_Alert($data)

...oh well. Still learning here.

gsb

Edited by gsb
"Did you ever stop to think? ...and forget to restart!"
Link to comment
Share on other sites

Of course there is a lot easier way now that I have done this the hard way:

$filename =  @TempDir & "/data"
inetGet( "http://www.gypsytrader.com/AutoIt/au3PHPmySQL/au3PHPmySQL.php?action=dump", $filename)
$data = FileRead($filename, FileGetSize($filename))
FileDelete($filename)
_Alert($data)

...oh well. Still learning here.

gsb

cool... will look at this when I get back from work.
Link to comment
Share on other sites

Wow, you're passing your db username and password in the HTTP query string? And then you're executing arbitrary SQL queries? Do you have any idea what could happen to your database?

I know, but it makes clear what is possible

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...