php-curl checks