LJ::acct_code_check

LJ::acct_code_check — Checks the validity of a given account code

Use

LJ::acct_code_check(dbarg, code, err, userid);

Arguments

  • dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).

  • code. account code to check

  • err. optional scalar ref to put error message into on failure

  • userid. optional userid which is allowed in the rcptid field, to allow for htdocs/create.bml case when people double click the submit button.

Source:

cgi-bin/accountcodes.pl

Returns:

boolean; 0 on failure, 1 on validity. sets $$err on failure.