e******r 发帖数: 220 | 1 How to insert a "Perl program" into "HTML file"?
The goal is let user enter two numbers in the webpage that HTML makes, and
then let the "Perl program" to calculate those two numbers to give the result.
Now, my "HTML file" and "Perl program" are all ready separately.
But how to bundle them together into one program?
Who knows that, please help me. Or,can you tell me some websource about that?
Thank you. | l***r 发帖数: 17 | 2 first, make sure your server support cgi. Then in your HTML code, make a form
which is handled by a perl script.
BTW, Better use php later.
result.
that?
【在 e******r 的大作中提到】 : How to insert a "Perl program" into "HTML file"? : The goal is let user enter two numbers in the webpage that HTML makes, and : then let the "Perl program" to calculate those two numbers to give the result. : Now, my "HTML file" and "Perl program" are all ready separately. : But how to bundle them together into one program? : Who knows that, please help me. Or,can you tell me some websource about that? : Thank you.
|
|