duanbarong4321
2016-09-05 12:36注意:使用未定义的常量CURL_IPRESOLVE - 假设为'CURL_IPRESOLVE'
I have 2 IP address on my dedicated server
- ipv4
- ipv6
i m trying to use ipv6 on CURL, below are code using on curl.
curl_setopt($ch, CURL_IPRESOLVE, CURL_IPRESOLVE_V4);
or
curl_setopt($ch, CURL_IPRESOLVE_V4, true);
but i got below error
Notice: Use of undefined constant CURL_IPRESOLVE - assumed 'CURL_IPRESOLVE' in /home/admin....... line 14
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- Sendgrid PHP使用未定义的常量CURL_SSLVERSION_TLSv1_2
- curl
- php
- 4个回答
- 使用未定义的常量? [关闭]
- curl
- php
- 1个回答
- 未定义的常量CURLOPT_GET - 假设为'CURLOPT_GET'
- curl
- php
- 4个回答
- PHP使用未定义的常量错误
- undefined
- constants
- php
- 1个回答