PDA

View Full Version : Account creation automation?!?



Pilot
08-26-2003, 12:24 PM
I can use PHP to create user accounts and set quotas but I wanted to know if it was relatively easy to do in DirectAdmin.

For example, if a user would register with me, instead of having my PHP script run Unix commands to create a user and set the disk quota I'd have it send appropriate variables to DirectAdmin to fill out the Create a user(Create account) fields and submit it so I could keep track of it in DirectAdmin.

Thanks.

Trevor

DirectAdmin Support
08-26-2003, 10:15 PM
Hello,

We have an api for this:

http://www.directadmin.com/api.html

a good start for connecting and communicating can be found here:
http://www.directadmin.com/forum/showthread.php?s=&threadid=258&highlight=class

note that this is only for the GET method, the POST method is slightly different.

John

Pilot
08-27-2003, 07:49 AM
Right on thanks alot.