Also if I try to add the params as as a string: params = 'address==07&message=test&... f = urllib.urlopen("http://www.samemachine.uk/bin/afunc.pl?", params) I get: <HTML><body><p><b>Error occured on server. Couldnt open result file, Mike McLeod.