Difference between revisions of "Import Functions"
From AWBS Wiki
(→create_encoded_invoiceid) |
m (Protected "Import Functions" [edit=sysop:move=sysop]) |
(No difference)
|
Latest revision as of 21:40, September 4, 2010
Functions:
create_encoded_password
Usage: create_encoded_password(md5_encoded_password)
Example: $newpass=create_encoded_password("md5encodedpassword");
generate_seed
Usage: generate_seed()
Example: $newseed=generate_seed();
create_encoded_invoiceid
Usage: create_encoded_invoiceid($invoice_id)
Example: $inc_enc=create_encoded_invoiceid($invoice_id);
Then you can query the client_invoices_items table - where id = '$inc_enc'
Instructions
Place the importfunctions.php file from the importfunctions.zip in your AWBS /tools directory and include into your php script file.