2013年5月4日

ubuntu php访问带apache2基本认证的页面

摘要: web服务器系统 Ubuntu 12.04安装curl库查找php5的curl支持库apt-cache search curl | grep php得到 php5-curl - CURL module for php5apt-get install curl php5-curl<?phpheader("Content-Type: text/html; charset=utf-8");$host = '10.0.1.191'; //主机 $path = '/itmng/cgi-bin/showlog.cgi?jsonoutput'; // 阅读全文

posted @ 2013-05-04 11:12 风林幻海 阅读(235) 评论(0) 推荐(0) 编辑

导航