How to call a CGI function on HTML button click -


i have html form. have submit button calls cgi script(function), defined , declared in c file.

similarly, want call "save function"(cgi script) on save button click. so, question how can call cgi script on button click on html form.

i newbie html , cgi, need implement this.

you need send data of html form cgi file via or post request. example;

<form action="cgi-bin/save.cgi" method="post"> 

when click save button, it'll call save.cgi


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -