Jump to content

Recommended Posts

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


#include <INet.au3>

$INPUT_NAME = "popo"


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


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

    No registered users viewing this page.

  • Create New...