Update curl.php

Sometimes 'Curlget' doesn't work.
this dirty code, helps in case of failure.