hancham Posted August 16, 2011 Share Posted August 16, 2011 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? Link to comment Share on other sites More sharing options...
hannes08 Posted August 16, 2011 Share Posted August 16, 2011 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! Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
hancham Posted August 16, 2011 Author Share Posted August 16, 2011 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. 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