Page 1 of 1

how can I create my own controll panel ?

Posted: Mon Oct 25, 2004 6:34 am
by pramod
I am php programmer i would like to create a control panel for my server running on linux and apache . ther are 10 sites running now. I want at lease the below mensioned features.

1. create ftp user name .
2. add domain name and sub domain.
3. create email account .


If any one have any idea about any of these points plese help me .

Thank you.

:lol: [/php_man]

Posted: Mon Oct 25, 2004 7:00 am
by kettle_drum
All you have to do is use exec() to run system commands to do what you want. Tie this up with a front end and your good to go.

Posted: Mon Oct 25, 2004 7:14 am
by m3mn0n
Or look into getting CPanel, Ensim, Plesk or other mainstream control panel systems for *nix if you want to save yourself some time.

Posted: Mon Oct 25, 2004 12:56 pm
by kettle_drum
(more fun to code your own though...if you have the time :P)

Posted: Mon Oct 25, 2004 1:18 pm
by timvw
doesn't require that much time: ldap and nscd or what you need :)

https://gosa.gonicus.de/

offcourse you will also need apache and bind9 extensions to use ldap etc....

I like the site relatted to LADP

Posted: Wed Oct 27, 2004 6:42 am
by pramod
I dond know any thing about LDAP , I am working on php,mysql.

I dont care about the time cunsemption , this is my clients requirement. "customers are king".


so kindly explain how i can connect PHP and ldap for creating a controll panel.

Beast Regards,
Pramod

Posted: Wed Oct 27, 2004 6:44 am
by pramod
Sami wrote:Or look into getting CPanel, Ensim, Plesk or other mainstream control panel systems for *nix if you want to save yourself some time.
CPANEL , ENSIM,PLESLk any of this are free ????

Posted: Wed Oct 27, 2004 8:12 am
by kettle_drum
Do a search on google and find out. Sadly most of them are not free.

How can i runn exe() as root user

Posted: Wed Oct 27, 2004 11:09 pm
by pramod
kettle_drum wrote:All you have to do is use exec() to run system commands to do what you want. Tie this up with a front end and your good to go.
.


when i use exe() or system() the command is executiing as annonimus user (apache user) . That user dont have the permission to run system level commands . How can i solve this ? I am new in system level programming so any suggestions are welcomes with pleasure.

Thanking you ,
Pramod

Posted: Sun Oct 31, 2004 12:40 pm
by ErichTheWebGuy
You might try Webmin http://www.webmin.com. It is a free web-based control panel, is mature, failry secure, and easy to use. And, it's open source so you can see under the hood and look at how they get around some problems that always come up with these web-based sysadmin things (like the Apache user not having any permissions).

IMHO, though, Webmin is really all you need.

Posted: Mon Nov 01, 2004 12:02 am
by pramod
Thanks 4 suggestion but iam sorry I want to create my own c-panel because this is my clients requirement .

Thanku u ,
ErichTheWebGuy wrote:You might try Webmin http://www.webmin.com. It is a free web-based control panel, is mature, failry secure, and easy to use. And, it's open source so you can see under the hood and look at how they get around some problems that always come up with these web-based sysadmin things (like the Apache user not having any permissions).

IMHO, though, Webmin is really all you need.