Current time: 11-23-2024, 10:55 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[HOWTO] Using the CLI to manage ispcp via command line (scripts)
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #12
RE: Using the CLI with ispcp (wiki article)
(05-16-2009 03:01 AM)pgentoo Wrote:  You php script can just include the existing /var/www/ispcp/gui/include/ispcp-lib.php, and then use any of the functions that the GUI is using to create the users.
Yep, already done that ..

Quote:Something else to think about is that you need to specify what reseller to create the domain under. Smile
Already done that too, passing the created_by it does a lookup into the database to know wich is the reseller...

php new_domain.php --created_by "test" --admin_name "example.com" --admin_pass "pas122"

When I'm done polishing the stuff I'll post the source here ...
05-18-2009 11:23 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Using the CLI with ispcp - aseques - 05-08-2009, 11:26 PM
RE: Using the CLI with ispcp (wiki article) - aseques - 05-18-2009 11:23 PM

Forum Jump:


User(s) browsing this thread: 9 Guest(s)