21,886
社区成员
发帖
与我相关
我的任务
分享
curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); //代理认证模式
curl_setopt($ch, CURLOPT_PROXY, "112.123.249.111"); //代理服务器地址
curl_setopt($ch, CURLOPT_PROXYPORT, 9745); //代理服务器端口
//curl_setopt($ch, CURLOPT_PROXYUSERPWD, ":"); //http代理认证帐号,username:password的格式
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); //使用http代理模式,目前就是https类型的代理服务器该如何写呢
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^index.php?q=(.*)$ index.php/index/index/q?q=$1 [QSA,PT,L]
</IfModule>