http://www.zen-cart.com/downloads.php?do=file&id=728
this Atos payment module works for PHP5.2, but it doesn't work for PHP5.3,

i tried modifying the file /includes/modules/payment/atos.php to make it compatible with PHP5.3

two parts, FROM
PHP Code:
if (eregi('<form [^>]*action="([^"]*)"[^>]*>(.*)</form>'$sips['message'], $regs)) { 
TO
PHP Code:
if (preg_match('/<form.*action="([^"]*)"[^>]*>(.*)</form>/i'$sips['message'], $regs) ) { 
FROM
PHP Code:
$cc split('\.'$response['card_number']); 
TO
PHP Code:
$cc preg_split('/\./'$response['card_number']); 
two parts, FROM
PHP Code:
$link ereg_replace('&amp;''&'$link); 
TO
PHP Code:
$link preg_replace('/&amp;/''&'$link); 
FROM
PHP Code:
$sips_values     split ("!"$sips_result); 
TO
PHP Code:
$sips_values     explode ("/!/"$sips_result); 
FROM
PHP Code:
$sips_resp split "!"$sips_resp ); 
TO
PHP Code:
$sips_resp explode "/!/"$sips_resp ); 
two parts, FROM
PHP Code:
$data split('\.'$file); 
TO
PHP Code:
$data preg_split('/\./'$file); 

but this doesn't work
is there anything wrong i did or is there anything i missed ?