2012.10.17 23:19


import httplib, urllib

params = urllib.urlencode({'id':'k1rha','pw':'k1rha','pwch':'k1rha','age':'11','sex':'1','email':'1111'})

headers = {"Content-type":"application/x-www-form-urlencoded"}

conn=httplib.HTTPConnection("223.194.105.120:80")

conn.request("POST","/web7/web300_edit_ok.php",params,headers)


response = conn.getresponse()

#print response.status, response.reason 200 OK

data = response.read()

print data

conn.close()



Posted by k1rha