Answer the question
In order to leave comments, you need to log in
PHP CURL. Why does a redirect to LAN work with a proxy on port 80?
Tell me why when using curl with the option to install a proxy on port 80, a redirect to the local page /cgi-sys/defaultwebpage.cgi works?
<?php
$curl = curl_init();
curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl,CURLOPT_URL,'http://api.wipmania.com');
curl_setopt($curl,CURLOPT_PROXY, '92.222.170.208:80');
curl_setopt($curl,CURLOPT_HEADER,false);
$out = curl_exec($curl);
curl_close($curl);
?>
Answer the question
In order to leave comments, you need to log in
that server is responding.
<html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question