Hi Perlron,
Thank you for your response.
I think it would work if change to "GET" in instead of POST, because I tried to use URL to carry the paramets (e.g. https//www.mydomain.com/cgi-mod/program2.cgi?name=myname&passwd=mypassword), the server got the name and password and printed them out. My problem is that I need to get POST work with form, because we have more similar work (uploading data to server).