command to update a web page
Hello All, I have a python script which sends out email once a particular condition is met. Now I want to extend the functionality and make this script update a php web page with the same contents as those of the emails it sends out. What module /commands can help me acheive this? Thanks. -- http://mail.python.org/mailman/listinfo/python-list
Re: command to update a web page
Thanks
I used the httplib module to establish and test a connection now the
next step is to login supplying a username and password.
Any examples of these available somewhere
This is what i have so far
import httplib, urllib
conn = httplib.HTTPConnection("xxx.xx.xx.xxx")
conn.request("GET", "/index.php")
response = conn.getresponse()
print response.status, response.reason
data = response.read()
conn.close()
--
http://mail.python.org/mailman/listinfo/python-list
