Update paypal_ipn.php

I added a safer way to split $res string from PayPal response.
Example works with IPN Simulator but not with a VALID response from PayPal.
I did not understand...could you explain better?