开发者

Reading user input with AUTOIT and pass to php

开发者 https://www.devze.com 2023-03-28 14:27 出处:网络
I`m building a very simple login window with autoit, the user just type use开发者_运维百科rname and password.

I`m building a very simple login window with autoit, the user just type use开发者_运维百科rname and password.

How can I read a username and password input inside AUTOIT, and pass those values/parameters to PHP so the PHP can check inside the mysql .


You can read the values from an input box using GuiCtrlRead($INPUT_NAME) and you can pass it to PHP with _InetGetSource("http://yourwebsite.com/yourscript/file.php?name=" & GuiCtrlRead($INPUT_NAME) & "&password=" & GuiCtrlRead($INPUT_PASSWORD))

0

精彩评论

暂无评论...
验证码 换一张
取 消