Jump to content

Recommended Posts

Posted

Hello, I trying to pass variables from autoit to PHP. I`m pretty much lost thought. That`s what I currently have:

autoit

#include <INet.au3>

$INPUT_NAME = "popo"

$INPUT_PASSWORD = "007"

_InetGetSource("http://mysite.com/PHPTEST/dbcheckTESTE.php?username=" & GuiCtrlRead($INPUT_NAME) & "&password=" & GuiCtrlRead($INPUT_PASSWORD))

autoit

this is the php:

$username = $_POST['username'];

$password = $_POST['password'];

$result = mysql_query("INSERT INTO testeuser (username, pw) VALUES('$username', '$password' )") or die('Query failed: ' . mysql_error());

Well, the variables are not passing so nothing is being added to the DB

can someone please help?

Posted

hancham,

like Melba already said in one of your previous posts:

You already have a thread going about this. Please stick to just the one! :mellow:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Posted

ow, sorry, actually the other post is about the reverse thing.. but if you guys think I should maintain just 1 topic so no problem. :mellow:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...