LJ::acct_code_generate — Creates invitation code(s) from an optional userid for use by anybody.
LJ::acct_code_generate
(dbarg, userid, quantity);
dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).
userid. Userid to make the invitation code from, else the code will be from userid 0 (system)
quantity. Number of codes to generate (default 1)
cgi-bin/ljlib.pl
Code generated (if quantity 1), number of codes generated (if quantity>1), or undef on failure.