[PHP] (To Rasmus and/or Developers) PHP as CGI env variables

2002-01-10 Thread fabrizio
Hi, I'm trying to let Webmin execute a script where I can use php as scripting language... (It will be good to work with a language as php in a remote administration server, as root!) Now the STRANGE problem: When I execute a test.cgi program from Webmin, it's executed as root, as it was

Re: [PHP] (To Rasmus and/or Developers) PHP as CGI env variables

2002-01-10 Thread fabrizio
Thank you for your prompt reply... The problems seem to be some env variables (maybe I'm wrong) when executing PHP as CGI... I better explain with 2 samples: file aaa.cgi #!/bin/bash echo Content-type: text/plain echo echo aaa touch /home/test.txt file bbb.cgi