Use cURL if possible to avoid the `allow_url_fopen` error @guite mentioned.