Some people are too stupid :-| the script works just fine.
Opera uses a proxy to handle each site u request and the servers change sumtimes per request. The flow of ur request is usually:
Client Browser > Opera Server > Processed and Compressed > Client Browser.
When u get the another country its because thats the country of the opera servers I.p. Same reason why opera mini users get norway, poland, uk and sh!t. Hope dat helps.