摘要: cat get_pipedata.php#!/usr/bin/env php<?php#========================================================#testing how to get data from pipe#========================================================$fp=fopen('php://stdin','r');$result='';while(!feof($fp)){ $result.=fgets($fp,128) 阅读全文
posted @ 2012-08-14 10:46 涛光 阅读(2202) 评论(0) 推荐(0) 编辑