in reply to I should need about a cgi script
I'd like to second Corions advice. Spend some time reading Web Programming from the tutorials section, as well as Ovid's CGI Course - Resurrected and Updated!.