I know this is an old post but I just wanted to clear this up. GoDaddy doesn't offer file_put_conten ts() for PHP5 hosting. I had to use fwrite(). Thanks Atli.