DirectAdmin API sample script


/ Published in: PHP
Save to your folder(s)

Do not use this php file exactly as it is.
It's only to demonstrate the basics of the api.
You *must* do form checking to ensure safe values are passed.
Also, it's a really bad and very insecure practice to put a form like this publicly on your website for anyone to use.
If you do, you'll end up with a server full users you did not create (this script creates accounts without any involvment with an admin: bad)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.