Home  >  Article  >  Backend Development  >  How can PHP's Curl use IE's proxy settings?

How can PHP's Curl use IE's proxy settings?

WBOY
WBOYOriginal
2016-12-05 13:44:281625browse

The only answer found online is to manually specify the proxy address

<code>curl_setopt($ch, CURLOPT_PROXY, '202.95.141.129:8080');
</code>

So, is there a way for PHP to obtain the proxy settings of IE?

Reply content:

The only answer found online is to manually specify the proxy address

<code>curl_setopt($ch, CURLOPT_PROXY, '202.95.141.129:8080');
</code>

So, is there a way for PHP to obtain the proxy settings of IE?

This...are you running PHP on this machine with IE proxy settings? I can only think of implementing it through a special php extension library. Can you talk about the specific business scenario?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn