I stopped with PHP when those mysql functions has been changed.... long time ago now.
Anyway even if it seems to look like it would work, I still couldn`t login yet because I can`t get this captcha working.... I pasted the api-key but the captcha is still not showing. Anyone mind to explain how...