Location: PHPKode > projects > Network Managment / Inventory System > clearsite/include/aloe/lib/rrd.php
<?php

function aloe_rrd($action, $filename, $opts, &$pipes) {
	$results = fwrite($pipes[0], " $action $filename $opts\r\n");
	fflush($pipes[0]);
	usleep(50000);
	$output = stream_get_contents($pipes[1]);
	$iserror = stripos($output, "error");
	if (!empty($iserror) or $iserror == "0") {
		return $output;
	};
};

?>
Return current item: Network Managment / Inventory System