Please, search the interwebs for html, perl, and cgi-bin.
There are reams of pages on the subject.
You just have to roll up your sleeves, use your brain, start reading, and educate youself
You just don't search hard enough, or read enough.
You will not find your answer in one page.
You will need to read more and learn more than the specific question.
No, it is not easy. And no, it might take you a while. Join the club.