(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.
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 ...