
I have a site that's br0ken because of some deprecated php functions. Any takers who are willing to whip up an instant solution? Here are the issues: 1. Deprecated: Function eregi() is deprecated in /usr/local/www/data-dist/siteA/includes/sef.php on line 533 Line 533 has this: eregi("^(https?:[\/]+[^\/]+)(.*$)", $mosConfig_live_site, $live_site_parts); 2. Deprecated: Function eregi() is deprecated in /usr/local/www/data-dist/siteA/templates/rt_technopia/rt_supersucker.php on line 150 Line 150 has this: f ( eregi( 'index.php\?', $row->link ) ) { if ( !eregi( 'Itemid=', $row->link ) ) { $row->link .= '&Itemid='. $row->id; }} Clues are here - http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53... , that the eregi() function now becomes preg_match() but I am not good with php regexps. Anyone willing to give me the modified functions? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!