我在php中使用cURL。注意到每次启动卷发盒时,人们总是放吗?
$ch=curl_init();
Run Code Online (Sandbox Code Playgroud)
“ $ ch”是什么意思?
curl -F template_invoke_name='sendcloud_template'
Run Code Online (Sandbox Code Playgroud)
“ -F”是什么意思?
我在Google周围搜索没有答案,希望能在这里找到答案。谢谢!
调用时,curl_init()它将初始化一个新会话,并返回一个cURL句柄。$ch是用于存储句柄的变量(我猜在这种情况下,它$ch是的简化版本curl handle)。诸如此类的功能curl_setopt要求将卷毛手柄作为参数传递。
参考:http : //se2.php.net/manual/en/function.curl-init.php
| 归档时间: |
|
| 查看次数: |
2431 次 |
| 最近记录: |