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

WBOY
Release: 2023-03-03 11:00:02
Original
1626 people have browsed it

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

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

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>
Copy after login
Copy after login

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?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!