Deprecated: Function eregi() is deprecated in


Getting the following error message:

Deprecated: Function eregi() is deprecated on line 63. Here is the code: if (eregi(’([0-9]+)M’, $memory_limit, $matches)) {

Deprecated: Function ereg() is deprecated on line 3075. Here is the code: return ereg(’[A-Z][A-Z0-9]{3}’, $framename);

Deprecated: Function set_magic_quotes_runtime() is deprecated on line 393 . Here is the code: set_magic_quotes_runtime($old_magic_quotes_runtime);

This is for a podcast generator program that I set-up on

It is from


ereg and eregi were fully deprecated in PHP 5.3. Use preg_match() instead.

Magic quotes shouldn’t be used at all. It’s fully deprecated at 5.3 and is entirely eradicated in the latest versions.