Import Functions

From AWBS Wiki
Jump to: navigation, search

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.