Jump to content
Sign in to follow this  
xwinterx

AutoIT MySQL and PHP!

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!"

Share this post


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

Share this post


Link to post
Share on other sites

Oh sure xwinterx.

Take the easy way. LOL

gsb


"Did you ever stop to think? ...and forget to restart!"

Share this post


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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...