Displaying 3 results from an estimated 3 matches for "ereg_replac".
Did you mean:
ereg_replace
2006 Jul 05
5
cacti on centos
...g the list archive, I can see there are many folks outthere
running Cacti on CentOS, so hopefully somebody could help me out.
Some additional notes:
One thing I had to do was to hardcode paths in include/config.php for
$config["base_path"] and $config["library_path"]. The ereg_replace
stuff was throwing "premature end of regular expression" errors.
Could be related to the problem I have.
I got same thing with Karan's and cacti.org SRPM files (0.8.6d and
0.8.6h, respectively).
SELinux is in permissive mode on the box.
Relevant RPMs (other than cacti):
Ca...
2004 Aug 06
3
get status.xml's variable using a php file
...page .= fgets($fp, 1000);
}
$loop = array("client_connections","source_connections"); //define all the variables to get (delte any ones you don't want)
$y=0; //dummy variable for while loop
while($loop[$y]!=''){ //while there are things in loop
$pageed = ereg_replace(".*<$loop[$y]>", "", $page); // extract data
$phpname = strtolower($loop[$y]); //make names in loop lowercase for variable names
$$phpname = ereg_replace("</$loop[$y]>.*", "", $pageed); //finish extracting data
if($loop[$y]==SERVERGENRE ||...
2003 Sep 19
1
feature request: maildirquota
...1 GETQUOTAROOT \"$mailbox\"\r\n");
$read_ary = sqimap_read_data ($imap_stream, 'a001', true, $result,
$message);
for ($i = 0; $i < count($read_ary); $i++) {
if (ereg("STORAGE", $read_ary[$i])) {
$tempusage = ereg_replace("^.*[(]STORAGE +(.*)[)].*$",
"\\1",
$read_ary[$i]);
$usagearray = explode(" ", $tempusage);
return $usagearray[0].":".$usagearray[1];
}
}
}
return "NOQUOTA";
}...