On Apr 22, 4:08 pm, Adrian Smith <[EMAIL PROTECTED]> wrote: > This may be more a cgi thing than a Python one, but I'm trying to get > this page: > > http://adrian10.phpwebhosting.com/trial.html > > consisting basically of this: > > <FORM ACTION="/cgi-bin/python3.cgi" METHOD="POST"> > <TEXTAREA NAME="essay" COLS=60 ROWS=20 WRAP=HARD></TEXTAREA> > <P><INPUT TYPE=SUBMIT VALUE="submit" NAME="submitbutton"> > </FORM> > > ...to print out the contents of the textarea with this cgi script: > > #!/usr/bin/python > import cgi > print "Content-type: text/html\n" > form = cgi.FieldStorage() > print form["essay"].value > > ...and I get an internal server error if I have any spaces in the > textarea, which is really going to limit its usefulness to me. Oddly, > it seems to work for a friend in the UK who's looked at it, but it > doesn't work for me here in Japan.
i just tried it and its working. here it is http://yallara.cs.rmit.edu.au/~bevcimen/form.html maybe the internal server error is because mod_python isn't installed assuming your using Apache as your web server Cheers -- http://mail.python.org/mailman/listinfo/python-list