localhost@Abliter MINGW64 /c/wamp/www
$ curl get.fuelphp.com/oil | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to localhost port 1080: Connection refused
答案 0 :(得分:0)
端口function checkDate($userID){
$res=mysql_query("Select YEAR (employment_date) AND MONTH(employment_date) from employee where emp_id='$userID'") or die("query error".mysql_error());
$array = mysql_fetch_array($res);
$value=$array['employment_date'];
echo("$value");
}
是SOCKS代理的标准端口。因此,您似乎已将系统/ curl配置为使用1080
作为SOCKS代理,但您没有localhost
上运行的SOCKS代理,因此出现错误消息。