更新时间:2022-11-07 21:59:00
您需要设置CURLOPT_RETURNTRANSFER选项为真.
CURLOPT_RETURNTRANSFER
You need to set CURLOPT_RETURNTRANSFER option to true.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
在变量 PHP 中保存 cURL 显示输出字符串
如何将 php curl 中的 cookie 转换为变量
将jQuery变量保存在PHP会话中