I have a problem in a payment solution I have made. In this, I use ereg to extract a returned Transaction ID from the payment provider, and with PHP 5.3 this does not work anymore. The code used was:
ereg('<TransactionId>(.+)</TransactionId>',$resultat_3,$c);
I have tried to use this instead: (but it doesn't work)
preg_match("/<TransactionId>(.+)<\/TransactionId>/",$resultat_3,$c);
Does anybody have an idea what to do?