Hey guys. I am working on a way to POST values to a server script over HTTPS from within PHP. Currently, I have the https form in my browser and am manually filling everything in and clicking submit is working fine. Now I want to get the same result, but by using cURL from within PHP and capturing the response. cURL in normal HTTP is very easy to understand, so my question deals with the "S" part of HTTPS.
How is the secure connection established with cURL in PHP?
How do I POST this data over HTTPS?
When I click on "Properties" of the page that contains the HTTPS form, I am able to view info about the certificate. Do I need to do anything with this information?
Would someone paste some PHP code that uses cURL to POST information to an HTTPS script?
Sorry if my questions aren't very clear right now. I'm new to HTTPS and cURL. Thank you in advance for any help! 🙂