Could you please tell me, what happens in this script:
$conn = fsockopen($server, 43); fputs($conn, $some_string."\r\n");
What kind of data will be sent to the server? GET? POST? PUT? And how should I do same job with cURL? CURLOPT_whatShouldIWriteHere?
Thanks!
This is not an HTTP request, just a pure TCP/IP data transfer.
As such, it’s neither GET nor POST nor any other HTTP verb.