What's wrong with my script?

Sheila King sheila at spamcop.net
Fri Sep 14 20:42:06 CEST 2001


On Fri, 14 Sep 2001 20:27:41 +0200, "Michael Landmann"
<michael1083 at gmx.de> wrote in comp.lang.python in article
<9nti6o$g96$06$1 at news.t-online.com>:

:Hi, I wrote this script and saved it as index.cgi, but it doesn't work.
:Idea?
:
:#! /usr/bin/python

print "Content-type: text/html\n\n" # add this line here

:print "<html>"
:print "<head>"
:print "<title>Aramedis.com</title>"
:print "<meta http-equiv="refresh" content="5;
:URL=http://www.aramedis.de/de/index.htx">"
:
:print "</head>"
:
:print "<body bgcolor=#000000>"
:print "hallo"
:print "</body>"
:print "</html>"
:
:

--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/



More information about the Python-list mailing list