2020年9月28日 星期一

curl_setopt($ch,CURLOPT_POST,1) vs. curl_setopt($ch,CURLOPT_CUSTOMREQUEST,"POST")

PHP 的 curl_setopt 這兩個有不同嗎?

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");

經抓封包結果,兩者完全相同


沒有留言:

New SSH client to old SSH server

從新版 SSH 8.x 連到舊版 6.x SSH server 若出現 Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss ...