This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Any idea how to use html "form" with .cgi function

Hi Everyone,

I have beening working on TIRTOS for ethernet application for a while. The demo project tells how to call .cgi functions. I am now working on a project with the aim to submit a value to .cgi function on the server. I have been searching this solution for some time and there is an example link here:https://www.cs.tut.fi/~jkorpela/forms/cgic.html

However, this example shows how to use this by a URL "form action="http://www.cs.tut.fi/cgi-bin/run/~jkorpela/mult.cgi"". Can anyone help how to send variables to .cgi function in ccs?

In my project, I have got a "sum.cgi" function. I tried the html code below, but this is not working.

<form action="sum.cgi">
<div><label>Multiplicand 1: <input name="m" size="5"></label></div>
<div><label>Multiplicand 2: <input name="n" size="5"></label></div>
<div><input type="submit" value="Multiply!"></div>
</form>

Any help will be appreciated!

Ben