Looks good to me. However, some hosts have the URL-aware fopen wrappers disabled for security reasons. It may be wise to check for this and include some backup cURL functions.
yo dark YOU STOLE MY HABBO NAME!!! lol but idc since i got banned for: rape threat twice and advertising a scam site, lol i h8 habbo it absolutly SUCKS!!! yo i bet kedo (hotel manager) is a pedofile (if thats how ye spell it)