Hi arun,
In HTML, you may pass parameters as query parameters in URL. For example:
aaa.bbb.ccc.ddd/cgi-bin/perldemo_cgi/xyz.cgi?id=qwerty&fruit=apple
So for your case, after your user input to the form and press the submit button, the Perl script that handles the form can generate the HTML with the <IMG> tag, in which the URL is like the above, with the query parameters set as the values entered by your user (of course with proper escaping to avoid characters that are invalid in HTML or URL).
Hope this can help.
Regards
Peter Kwan |