5 Jan
2000
5 Jan
'00
10:59 p.m.
Marcus Mendes writes:
I've got the follow content : Key Error SERVER_NAME, that is, .... form= REQUEST.form .... server = form['SERVER_NAME'] The error report is unambiguous.
Your "REQUEST.form" does not contain "SERVER_NAME". You may try "REQUEST['SERVER_NAME']". Remember: "REQUEST.form" contains just the form variable or parameter definitions in the URL's query string. "REQUEST" contains other information in "REQUEST.cookies", "REQUEST.other" and "REQUEST.environ", all of which are accessible through "REQUEST[...]". "SERVER_NAME" is a CGI variable, defined in "REQUEST.environ". Dieter
9588
Age (days ago)
9588
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer