|
Johnny Morano
johnny.morano at vlaanderen.be
Fri Apr 19 12:46:48 EST 2002
On Friday 19 April 2002 12:13, you wrote:
> > for row in rows:
> > x += "\t" + row[0] + "\n"
> > return x
>
> An Apache handler doesn't return a string -- it returns a status code. The
> string should be written to the req object after sending the proper
> headers. Check the documentation for more.
well actually, that's not true. i have other scripts (mailscripts) which
handle this perfectly.
but, changing the end of my code into:
for row in rows:
x += "\t" + row[0] + "\n"
x += "</p></body></html>"
req.write(x)
return apache.OK
doesn't change a thing...
johnny
--
Johnny Morano - Linux Consultant
___________________________________________________
Ministerie Vlaamse Gemeenschap |
Koning Albert II-laan, 7 (610) 1210 Brussel |
tel: 02/5531319 mail: johnny.morano at vlaanderen.be |
|