php-cURL get & post data, save files and more