From: Sandro D. <san...@ti...> - 2002-10-09 01:06:44
|
> That said, if you really, /really/ must go about it this way, you have a > couple of choices: > > Setup Webmin to run under Apache. This will allow you to run PHP Is it really needed? I read no mention about it! (nor I understand it!) while I managed to use w/ success webmin.py (python library, used only to test the example), I was not able to run any example in php. I'd like to know if somebody knows of a module written in php, the author of web-lib.php (Nicolas Faurant) did not write an e-mail in the file, and provided no examples, please, if you read this, let us know... Here is the misbehaviour: If the php script contains #!/usr/bin/php4, that same string will be output to the browser and a warning will be issued: Warning: Cannot add header information - headers already sent by (output started at /usr/share/webmin/uptimephp/index.cgi:2) in /usr/share/webmin/web-lib.php on line 25 if '-q'(quiet) option is used, no header is issued by php4 and "no input specified" appears in the browser. I have no problem w/ cgi scripts in bash, tcl, python, awk... what has php special? Thanks in advance for any reply sandro *:-) -- Sandro Dentella *:-) e-mail: san...@ti... http://www.tksql.org TkSQL Home page - My GPL work |