Writing files on server through CGI

amaltasb at gmail.com amaltasb at gmail.com
Sun Apr 9 03:35:21 EDT 2006


I have a CGI script on server which process a form and writes its
content on a file like
fp = open(fname, 'w')
fp.write('<HTML><HEAD><TITLE>Cool
list</TITLE></HEAD><BODY><H2><CENTER>%s</CENTER></H2><BR><H3><center>%s</center></h3></body></html>

Its working fine, but will it work if the script recieves thousands of
request simultaneously.
Can this script writes files simultaneusly or will all the request
queued and processed one by one. If that is the case then how can I
make this script work so that it can process several requests at a
time.

Thanks
Amaltas




More information about the Python-list mailing list