Almost finished the fix for php 5.3 But stuck with this "Easy-to-Read" code $REP_UNDSCR="&| ";
$REP_SPACE="\?|%|'|\"|'|%|/|\||"|\*|#|\^|{|}|;|!|:|~|`|<|>|<|>|,|\\|\(|\)";
$ADDITIONAL_VAL = ereg_replace($REP_UNDSCR,'_',$ADDITIONAL_VAL);
$ADDITIONAL_VAL = ereg_replace($REP_SPACE,'',$ADDITIONAL_VAL); Someone can help to convert this to preg_replace
please help! Online (hosting) - I am getting php 5.3 errors Deprecated: Function ereg_replace() Deprecated: Function session_is_registered() and so on... but I can't get this errors on localhost win 7 64 Uniform Server [7.0.1-Orion] PHP Version 5.3.6 Print Errors: On How can I get this errors on local host?