I have some modules in php that used to work pretty well with webmin 1.120
and debian/woody. Passing to webmin 1.130 on Deabia/Sarge they do not work
anymore.
The very little index.cgi one that does not work is:
#!/usr/bin/php4 -q
<?php
header("Content-type: text/html; Charset=iso-8859-1\n\n");
print "<html><head><title>prova</title></head><body>ciao</body></html>\n";
?>
The error message being: "Error: Bad Header"
It works if I write:
print "Content-type: text/html; Charset=iso-8859-1\n\n";
but that's not the standard way, and all my script (and web-lib.php) use the
other way...
any clues?
TIA
sandro
*:-)
--
Sandro Dentella *:-)
e-mail: san...@ti...
http://www.tksql.org TkSQL Home page - My GPL work
|