Search found 2 matches

by HawkHD
Mon Nov 28, 2011 1:40 pm
Forum: Regex
Topic: Problem with change from eregi to preg_match
Replies: 2
Views: 6732

Re: Problem with change from eregi to preg_match

Hi McInfo!
Your suggestion solved the problem. No errors, everything works good now.
Thanks alot!
by HawkHD
Sun Nov 27, 2011 2:59 pm
Forum: Regex
Topic: Problem with change from eregi to preg_match
Replies: 2
Views: 6732

Problem with change from eregi to preg_match

Hello. I'm having a problem with changing a function which uses eregi() into a preg_match() to gain compatiblity with PHP 5.3 . Here is the orginal function with eregi function cache_remover($alone = ''){ $fdir = opendir(rootpath.'/cache'); while ($file = readdir($fdir)){ if ($file != '.' and $file ...