how can I create my own controll panel ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

how can I create my own controll panel ?

Post 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]
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

(more fun to code your own though...if you have the time :P)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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....
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

I like the site relatted to LADP

Post 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
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

Post 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 ????
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Do a search on google and find out. Sadly most of them are not free.
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

How can i runn exe() as root user

Post 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
ErichTheWebGuy
Forum Newbie
Posts: 3
Joined: Sun Oct 31, 2004 12:01 pm

Post 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.
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

Post 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.
Post Reply