: im trying to write a messageboard using python
: i have some difficulties with linking the to the messages
: say there is a link on the message title, how do I allocate the message content with that link???
: I saw other people use address like this:
: where i guess the "4i8hheyj" is the message id for the script to locate the message content
: how do i use Python to manipulate the bunch of information after the address .../msg.cgi? (?board=news&view=4i8hheyj)
Try writing a script like this:
form = cgi.FieldStorage()
print "Content-type: text/html\n"
It should give you some hints. Also check the documentation on the cgi module.