做个记录

<?php

$url = '';

$cookie = '';

$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_SSL_VERIFYHOST => false,
    CURLOPT_SSL_VERIFYPEER => false,
    CURLOPT_COOKIE => $cookie,
]);
$result = curl_exec($ch);
curl_close($ch);

var_dump($result);
文章至结束
本文作者:
文章标题:php提交cookie到url
本文地址:https://coldyun.cn/archives/111.html
版权说明:若无注明,本文皆Cold' Blog原创,转载请保留文章出处。