Sergiaws Posted December 21, 2022 Share Posted December 21, 2022 Hi, I want to validate an html form with AutoIt and CGI. I found an http server writen in autoit, and my plan was a form validation with Autoit so I could throw accessible msgbox messages and use a WebView, so, uin conclusion, use AutoIt instead of Electron and similar technologies. The situation is how to access a post data. The server and client will be running in the client machine, here's what I tried. The html input has a name and a value. Doing something like this gives an error, the $_POST variable is not pressent or not accessible. The code is not exactly what I put, but it is similar. Can someone correct it or tell what is wrong? if $_POST['text'] != "1" Then msgbox(16, "result", $_POST['text']) EndIf As a server, I use this https://www.autoitscript.com/forum/topic/205223-autoit-http-server/ Link to comment Share on other sites More sharing options...
Developers Jos Posted December 21, 2022 Developers Share Posted December 21, 2022 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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