in reply to Form over HTTPS


if its a problem on the server, then u need check your webserver config for HTTPS requests.for apache webserver try to google LoadModule with SSL .
on the HTML side, ..
ok im not assuming anything about how experienced you are so please excuse if this is obvious to see if the values are being passed u can change the form method to GET, instead of POST.
You would see the name=value tags in the url.
Else even using post you can see the data Just
by using the debugging facilities or plug-in of your favorite browser to LooK at the HTTPS GET/POST data that is being sent and that is being received.

The temporal difficulty with perl is u need to know C well to know the awesome.else u just keep *using* it and writing inefficient code

Replies are listed 'Best First'.
Re^2: Form over HTTPS
by Blum (Initiate) on Oct 30, 2014 at 19:45 UTC
    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).

      Yes. GET Request is typically for queries to the server. You would not want to send large data sets via a GET Query.
      As was mentioned , you can also see very conveniently each POST param and header that is being transmitted in your POST request to the server .
      If u are using FF, there is a Network Tab under tools
      for Chrome its under View->Developer Tools.
      This jist of what i am saying is that first check if information is going to the server via your request.
      You have to keep the Network tab open in the first place and THEN submit the data.
      If the data is going to the server, then as i mentioned i hope your SSL config for the web server eg : Apache is setup properly.
      As far as the Server Side script is concerned, the POST Data is accessible via STDIN handle. But for ReadParse() usage you should check this link . CGI.
      Here is a really nice article on beginner CGI Programming