The wwwacct script is written in perl. There is a part, around line 1488, that says:
Code:
if (-e "/scripts/postwwwacct") {
system("/scripts/postwwwacct",@ARGV);
}
If there is a postwwwacct script, it will call that script and pass along @ARGV. That array contains the following variables:
ARGV0 = domain
ARGV1 = username
ARGV2 = pass
ARGV3 = space (MB)
ARGV4 = theme
ARGV5 = ded IP (y/n)
ARGV6 = cgi (y/n)
ARGV7 = FP (y/n)
ARGV8 = max ftp (n or #)
ARGV9 = max sql (n or #)
ARGV10 = max POP (n or #)
ARGV11 = max lists (n or #)
ARGV12 = max subs (n or #)
ARGV13 = bandwidth (# or 0)
ARGV14 = shell (y/n)
ARGV15 = owner
ARGV16 = plan
ARGV17 = max park (# or unlimited)
ARGV18 = max addon (# or unlimited)
ARGV19 = feature list (default)
ARGV20 = contact email
Check the postwwwacct scripts in my scripts club for examples. If you know perl, a script to notify you of new accounts would be simple. I think the postwwwacct script can also be php but I'm not sure.