Thank u for ur reply...but nowhere i got any reference to call a cgi script when i clicked on a "button" in another cgi script...
it was something like this in html....
<input name="btnSearch" type="button" value="Search" onclick="search()" style="width: 120px" /><input name="btnAdd" type="button" value="Add New" style="width: 106px" onclick="showDataSubmitForm() " /><input name="btnDump" type="button" value="Dump" onClick='dump()' style="width: 123px" />
how can i write the same in cgi??????
| [reply] |
Thank u for ur reply...but nowhere i got any reference to call a cgi script when i clicked on a "button" in another cgi script...
I just gave it to you, both a word explanation, and link to example
how can i write the same in cgi??????
print
| [reply] |
| [reply] |
Start by putting Perl (or PHP, or Ruby, or...) aside, and read some generalized on-line texts about how CGI programming works. Then, if you are using Perl, surf to various CPAN modules such as, say, CGI::Application or even Catalyst which will bring you as close as possible to your actual destination while requiring as little original-coding work from you. The very best way that I know how to learn how to do anything is by studying existing examples (either the documentation or the code itself). Observe not only how they work, but their description of their general approach to the entire problem (which will include many aspects that you have not yet “stumbled into upon” ... this being the entire point).
| |