Well-Known Member
Sep 22, 2001
Let me clarify. What I am looking to do is pass custom variables from WHMCS to WHM/Cpanel. So what I'm doing is storing the username in a database, along with its associated variables.

Then, when the cpanel account creation occurs, I have a postwwwacct hook in there to check the database against this account username. Once it finds it, the script grabs the variables associated with this username, and then does whatever it needs to after that.

Is this the best way to do this, or is there a better way to do it?
Last edited: