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
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )