If your working with PHP 5.3 or heighter, chances are high you’re going to run into a few warnings or deprecated function messages.
TO
ereg('\.([^\.]*$)', string $string [, array &$regs ] );
Change
preg_match('/\.([^\.]*$)/', $subject, $matches);
TO
ereg('\.([^\.]*$)', string $string [, array &$regs ] );
Change
preg_match('/\.([^\.]*$)/', $subject, $matches);
No comments:
Post a Comment