Re: [PHP] building a control panel in php

2002-03-20 Thread James Arthur

On Wednesday 20 Mar 2002 02:42, Thalis A. Kalfigopoulos wrote:
  -Original Message-
  From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, March 19, 2002 5:49 PM
  To: Paul ...
  Cc: [EMAIL PROTECTED]
  Subject: Re: [PHP] building a control panel in php
 
  On Wed, 20 Mar 2002, Paul ... wrote:
   just thinking about making a small control panel for my server so i
  can do
   the web hosting related things from the web... would php be a good
  language
   to do this in and if so why?.. what would be the ups and downs?
 
  The fastest way would be to download Webmin from here
  (http://www.webmin.com/), then change all the comments so it says you
  wrote it.
 
  Seriously, you might want to look into that because a lot of people have
 
  already put a lot of work into making something fairly comprehensive.
 
  miguel

 Yes, but how safe can one feel having all this power-functionality over a
 webpage? (I presume lots of stuff is SETUID;Correct?)

Webmin is modular. You only install the modules you want to control over the 
web. You can also retrict access to port 1 (on which it lives by default) 
in the normal way. I imagine you can set it to do HTTPS connections as well, 
but I've not tried that because I only use it locally.

--jaa

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] building a control panel in php

2002-03-19 Thread Miguel Cruz

On Wed, 20 Mar 2002, Paul ... wrote:
 just thinking about making a small control panel for my server so i can do
 the web hosting related things from the web... would php be a good language
 to do this in and if so why?.. what would be the ups and downs?

The fastest way would be to download Webmin from here
(http://www.webmin.com/), then change all the comments so it says you
wrote it.

Seriously, you might want to look into that because a lot of people have 
already put a lot of work into making something fairly comprehensive.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] building a control panel in php

2002-03-19 Thread Demitrious S. Kelly

I agree.  Unless there isn't a product which matches your needs I
personally would consider my time better spent contributing to a project
that has only a short distance left to go rather then starting a new
project which would take months/years before perfection (if there is
such a thing)

Onto my opinions of the technical aspects of creating a control panel in
php... there are two ideas (that I see looming obvious on the
horizon)... Both of these ideas deal with permissions.  To be a truly
effective 'system control panel' it would be necessary to have root
priv's to accomplish tasks... the fact that apache runs as a specific
non-root user (and if it doesn't it d#%!#$^mned well should!) is a
drawback... Webmin circumvents this project by incorporating its own
http/https server which runs on an assigned port (idea 1). Otherwise it
may be possible to use a php front-end-script which modifies a text
file, mysql, or some other form of database, and either a daemon script
running as root or a single pass script running as a cron job... this
process would interpret information in the data file and act accordingly
on the server.  

PHP is a wonderful lang. in my experience, and it's becoming more
advanced by the second.  I don't think the problem would be the lang.
itself but the time invested in learning it and implementing it...

So I guess it boils down to these questions:

1) do you NEED to do it?
2) do you want to do it?
3) are you willing to invest in yourself to get it done?

From my experience creating these types of things tends to be a
thankless job right up until the end :) stick in there and it's
possible...

-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 19, 2002 5:49 PM
To: Paul ...
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] building a control panel in php

On Wed, 20 Mar 2002, Paul ... wrote:
 just thinking about making a small control panel for my server so i
can do
 the web hosting related things from the web... would php be a good
language
 to do this in and if so why?.. what would be the ups and downs?

The fastest way would be to download Webmin from here
(http://www.webmin.com/), then change all the comments so it says you
wrote it.

Seriously, you might want to look into that because a lot of people have

already put a lot of work into making something fairly comprehensive.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] building a control panel in php

2002-03-19 Thread Thalis A. Kalfigopoulos

 -Original Message-
 From: Miguel Cruz [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, March 19, 2002 5:49 PM
 To: Paul ...
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] building a control panel in php
 
 On Wed, 20 Mar 2002, Paul ... wrote:
  just thinking about making a small control panel for my server so i
 can do
  the web hosting related things from the web... would php be a good
 language
  to do this in and if so why?.. what would be the ups and downs?
 
 The fastest way would be to download Webmin from here
 (http://www.webmin.com/), then change all the comments so it says you
 wrote it.
 
 Seriously, you might want to look into that because a lot of people have
 
 already put a lot of work into making something fairly comprehensive.
 
 miguel

Yes, but how safe can one feel having all this power-functionality over a webpage? (I 
presume lots of stuff is SETUID;Correct?)

--thalis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php