POST to HTTPS

Suppose you want to POST to https://www.phpkobo.com/mod/test.php

Then use the following parameters for fsockopen
------------------------------------
$path: /mod/test.php
$host: www.phpkobo.com
$domain: ssl://www.phpkobo.com
$port: 443
------------------------------------

The point is to use "ssl://" to access https.

error

http response error: HTTP/1.1 404 Not Found

status code

404

header

HTTP/1.1 404 Not Found
Date: Sun, 11 Oct 2026 23:16:12 GMT
Server: Apache
Upgrade: h2,h2c
Connection: Upgrade, close
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8

body






404 Page Not Found







404
Page Not Found