Difference between revisions of "Import Functions"
From AWBS Wiki
(New page: ''Functions:'' ===create_encoded_password=== '''Usage: create_encoded_password(md5_encoded_password)''' ''Example: '' $newpass=create_encoded_password("md5encodedpassword"); ===generate...) |
(No difference)
|
Revision as of 21:36, 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 this file in your AWBS /tools directory and include into your php script file.