PHP错误警告:curl_setopt():无法访问

时间:2018-05-02 11:17:43

标签: php curl php-curl

我在使用PHP Curl时出错

设置Coockie:

curl_setopt($this->curl, CURLOPT_COOKIEJAR, $this->cookiePath."/".$this->subClassName.'_cookie.txt');
curl_setopt($this->curl, CURLOPT_COOKIEFILE, $this->cookiePath."/".$this->subClassName.'_cookie.txt');

错误:

Warning: curl_setopt(): Unable to access /home/pasx/domains/pasx.xyz/public_html/bank/ssbb_cookie.txt in /home/pasx/domains/pasx.xyz/public_html/bank/General.php on line 35 
Warning: curl_setopt(): Unable to access /home/pasx/domains/pasx.xyz/public_html/bank/ssbb_cookie.txt in /home/pasx/domains/pasx.xyz/public_html/bank/General.php on line 37 SSL connect error

0 个答案:

没有答案