replace file_get_content with cUrl