topten Posted November 23, 2015 Share Posted November 23, 2015 I discovered aucgi - which allows to use au3 on the server side.I wonder how can I pass the contents of html input and pass it to aucgi?<form> First name:<br> <input type="text" name="firstname"> <br> Last name:<br> <input type="text" name="lastname"></form> Great thanx in advance! Link to comment Share on other sites More sharing options...
trancexx Posted November 23, 2015 Share Posted November 23, 2015 (edited) Isn't that done automatically?If your server runs AuCGI then depending if the form's enctype method is "get" or "post" you would use _Get() or _Post() respectively to read passed data. Or use variables $_GET_raw and $_POST_raw to read raw data. Edited November 24, 2015 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
topten Posted November 24, 2015 Author Share Posted November 24, 2015 TrancexxI am using AuCGI on LightTPD.Say on one page I create a form something like<form action="action_page.au3"> ; What should I use here? action_page.au3? First name:<br> <input type="text" name="firstname" value="Mickey"> <br> Last name:<br> <input type="text" name="lastname" value="Mouse"> <br><br> <input type="submit" value="Submit"> </form>Should I use action_page.au3 for the form?How can au3 page then get the "firstname" the "lastname" _Get() or _Post() ?Great thanx in advance! Link to comment Share on other sites More sharing options...
trancexx Posted November 24, 2015 Share Posted November 24, 2015 Default method for forms is "GET", so for form written like that you would use _Get("firstname") and _Get("lastname") in action_page.au3.Did you try it? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
topten Posted November 24, 2015 Author Share Posted November 24, 2015 Yes, I got it. Thank you very much , Trancexx 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