Weather34 template help needed

Is there to get the updated template working without using fopen
I am only allowed to use curl at my host.