import urllib, urllib2, cookielib
username = "admin"

while 1
	login_data = urllib.urlencode({'uname':"admin",'pass':password,'submit':'Login'})
	opener.addheaders = [('User-agent', 'Mozilla/5.0')]
	op = opener.open('localhost/niceform.php',login_data)
	

