Difference between revisions of "Import Functions"
From AWBS Wiki
m (Protected "Import Functions" [edit=sysop:move=sysop]) |
|||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
''Example:'' $inc_enc=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' | Then you can query the client_invoices_items table - where id = '$inc_enc' | ||
===Instructions=== | ===Instructions=== | ||
Place the importfunctions.php file from the importfunctions.zip in your AWBS /tools directory and include into your php script file. | Place the importfunctions.php file from the importfunctions.zip in your AWBS /tools directory and include into your php script file. |
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.