There's not a way with the current Google API unfortunately (there used to be, but they don't have it available anymore). I believe the current API just targets as what the user would see if they were on the IP that your script is on.
So if I host the script in the UK that will use google.co.uk? Can someone point me to a link to the script hosted in the UK?
You can change this in the settings. Weirdly turning off customized search is now *really* difficult to do!
Login to your server and try to change your browser for UK if you have access to your server where your script is hosted.
if you are using chrome browser and live in the uk and your ip is uk then chrome will change it to uk as i was using a ip hider once and my ip changed to another country then when i opened chrome it changed my google.com to google.ca as the ip which was shown was of canada
And what gives you the impression that this thread has anything to do with a web browser or using one? lol