位置: 编程技术 - 正文

PHP:curl_share_close()的用法_cURL函数

编辑:rootadmin
curl_share_close

推荐整理分享PHP:curl_share_close()的用法_cURL函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 5 >= 5.5.0)

curl_share_close — Close a cURL share handle

说明 void curl_share_close ( resource $sh )

Closes a cURL share handle and frees all resources.

参数sh

A cURL share handle returned by curl_share_init()

返回值 PHP:curl_share_close()的用法_cURL函数

没有返回值。

范例

Example #1 curl_share_setopt() example

This example will create a cURL share handle, add two cURL handles to it, and then run them with cookie data sharing.

<?php//CreatecURLsharehandleandsetittosharecookiedata$sh=curl_share_init();curl_share_setopt($sh,CURLSHOPT_SHARE,CURL_LOCK_DATA_COOKIE);//InitializethefirstcURLhandleandassignthesharehandletoit$ch1=curl_init("

参见

curl_share_init() - Initialize a cURL share handle

PHP:curl_reset()的用法_cURL函数 curl_reset(PHP5=5.5.0)curl_resetResetalloptionsofalibcurlsessionhandle说明voidcurl_reset(resource$ch)Thisfunctionre-initializesalloptionssetonthegivencURLhandletothedefaultvalues.参数ch由curl_ini

PHP:curl_multi_strerror()的用法_cURL函数 curl_multi_strerror(PHP5=5.5.0)curl_multi_strerrorReturnstringdescribingerrorcode说明stringcurl_multi_strerror(int$errornum)ReturnsatexterrormessagedescribingthegivenCURLMerrorcode.参数errornumOne

PHP:curl_pause()的用法_cURL函数 curl_pause(PHP5=5.5.0)curl_pausePauseandunpauseaconnection说明intcurl_pause(resource$ch,int$bitmask)Warning本函数还未编写文档,仅有参数列表。参数ch由curl_init()返回的cURL句

本文链接地址:https://www.jiuchutong.com/biancheng/280555.html 转载请保留说明!

上一篇:PHP:curl_setopt_array()的用法_cURL函数

下一篇:PHP:curl_reset()的用法_cURL函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络