project:include_file_guide
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:include_file_guide [2016/01/08 23:57] – [Core application] mnewnham | project:include_file_guide [2022/07/08 14:02] (current) – [Core Library] dregad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Include File Guide ====== | ====== Include File Guide ====== | ||
| ===== Description ===== | ===== Description ===== | ||
| - | This page describes the required and optional include files for use in applications. | + | This page describes the required and optional include files for use in applications. | 
| - |  | + | <WRAP important> | 
| - |  | + | Please note that **ADOdb version 5 does not support | 
| - | ===== Core application | + | When using Composer, only the Library' | 
| + | If your project requires additional components, the relevant files still need to be included as described in this document. | ||
| + | </ | ||
| + | |||
| + | ===== Core Library | ||
| The following include file is required for all database applications: | The following include file is required for all database applications: | ||
| <code php> | <code php> | ||
| Line 14: | Line 18: | ||
| prior to inclusion of the file, the following constant may optionally be defined: | prior to inclusion of the file, the following constant may optionally be defined: | ||
| - | [[reference: | + | [[v5:reference:adodb_fetch_mode]] | 
| + | |||
| + | Any necessary driver and library files are automatically included, based on Connection requirements. | ||
| + | However, if you are modifying ADOdb files and are having difficulties debugging, your optional core includes can look like this: | ||
| - | Any driver and library files automatically include, based on driver and requirements. However, if you are modifying ADOdb file and are having difficulties debugging, your optional | ||
| <code php> | <code php> | ||
| require ' | require ' | ||
| Line 24: | Line 30: | ||
| require ' | require ' | ||
| </ | </ | ||
| + | |||
| + | <WRAP tip> | ||
| + | When using Composer, with default settings the actual value for the // | ||
| + | </ | ||
| ===== Date/Time Library ===== | ===== Date/Time Library ===== | ||
| - | The ADOdb [[datetime:datetime_library|Date/Time Library]] is standalone and does not require a database connection. | + | The ADOdb [[v5:datetime:datetime_index|Date/Time Library]] is standalone and does not require a database connection. | 
| <code php> | <code php> | ||
| Line 33: | Line 43: | ||
| ===== Session Management Library ===== | ===== Session Management Library ===== | ||
| - | The ADOdb [[session:session_library|Session Library]] should be included after the database handler. Make sure to use the **adodb-session2.inc.php**, | + | The ADOdb [[v5:session:session_index|Session Library]] should be included after the database handler. Make sure to use the **adodb-session2.inc.php**, | 
| <code php> | <code php> | ||
| require ' | require ' | ||
| require ' | require ' | ||
| + | </ | ||
| + | ==== Using Encrypted Data ==== | ||
| + | <code php> | ||
| + | require ' | ||
| + | require ' | ||
| + | </ | ||
| + | ==== Storing Data In CLOBS ==== | ||
| + | Do not use this with Oracle Databases. | ||
| + | <code php> | ||
| + | require ' | ||
| + | require ' | ||
| </ | </ | ||
| ===== ADOdb-xmlschema ===== | ===== ADOdb-xmlschema ===== | ||
| - | The ADOdb [[session:session_library|Session Library]] should be included after the database handler. Make sure to use the **adodb-xmlschema03.inc.php**, | + | The ADOdb [[v5:session:session_index|Session Library]] should be included after the database handler. Make sure to use the **adodb-xmlschema03.inc.php**, | 
| <code php> | <code php> | ||
| require ' | require ' | ||
project/include_file_guide.1452293841.txt.gz · Last modified:  (external edit)
                
                