Hello Residents of HashCode, my question is about sockets in php and https. Here is the code that knocks on the http server
... fwrite($socket, "POST /post/test.php HTTP/1.1\r\n"); fwrite($socket, "Host: www.example.loc\r\n"); ... But how to perform the same request via the https protocol (I need to know what to write for the HTTP / 1.1 place).