You need to enable allow_url_fopen in php.ini www.php.net/filesystem#ini.allow-url-fopen If you can't, then try the cURL example which clickatell should offer as well.