Jump to content

Recommended Posts

Posted

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!
Posted (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 by trancexx

♡♡♡

.

eMyvnE

Posted

Trancexx

I 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!

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...