I have my new user html form take in a new users information, passing it to a php script to connect to the ISPConfig server and add the new client. How can I retrieve and iterate over the current usernames to check if a username already exists in my php script before adding a new client? If I try adding a user with the same user as an already existing username, will it break my setup?
download the ispconfig tarball and extract it.. in ispconfig3_install/remoting_client you'll find docs and examples for the ispconfig api. they should give you details on how to retrieve user info from ispconfig.. most likely in client_get_by_username.php