Download .zip |
Info | Example | View files (10) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2018-04-20 (4 months ago) | Not yet rated by the users | Total: 81 | All time: 9,134 This week: 503 |
Version | License | PHP version | Categories | |||
db_connector 1.0.1 | Custom (specified... | 7 | PHP 5, Databases |
Description | Author | ||||||||
This package can connect to different databases and execute queries. |
|
I've thought to realize a set of classes ?connector? for the varius DB, starting from a one abstract class, in order that the classes have almost the same functions. The additional functional character consists in doing a JOIN between query of different connectors (the example is on the relevant page), so that you can have a complete array on output with the merge of that one we have outlined on the configuration of the CROSS QUERY. Configuration: Into the file ?config.inc.ini? you have to configurate the credentials of the varius DB, in which you want to enter on. The credentials will be used by the relatives classes. I HAVE DONE ALL MY TESTS WITH PC WWINDOWS 7/10 WITH XAMPP AND PHP 7.2.3 ###################### SQL SERVER (MSSQL) ###################### Extensions: "extension=sqlsrv_72_ts_x86" "extension=sqlsrv_72_ts_x64" Useful Links for the download and the configurarion of the library srvsql for PHP 7: - https://www.microsoft.com/en-us/download/confirmation.aspx?id=56567 - https://www.microsoft.com/en-us/download/confirmation.aspx?id=56729 ############################ SQLITE ############################ Extension: "extension=php_sqlite3.dll" Files utili: - SQLite_db_test.db -> esempio di db ############################# MYSQL ############################# MySql is based on the library "mysqli" standard for PHP 5+ ########################## POSTGRESSQL ########################## Extension: "extension=php_pgsql.dll" Tested with PostgresSQL 10 ################################################################# EXAMPLES: Into the file ?example.php? you find all the examples of code of the varius DB |
Files |
File | Role | Description |
---|---|---|
config.inc.ini | Conf. | config |
example.php | Example | example script |
LICENSE | Lic. | license |
readme_EN.md | Doc. | en documentation |
readme_IT.md | Doc. | it documentation |
SG_DB.php | Class | db master class |
SG_MsSQL.php | Class | sql server class |
SG_Mysql.php | Class | mysql class |
SG_PostgreSQL.php | Class | postgresql class |
SG_SQLite.php | Class | sqlite class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.