v5:database:proxy
This is an old revision of the document!
CSV File
The syntax required and necessary file formats have not yet been identified from the legacy documentation. Can you help?
Specification
Driver Name | csv |
---|---|
Data Provider | csv |
Status | Inactive1) |
Windows | Yes |
Unix | Yes |
ADOdb V5 | Yes |
ADOdb V6 | Yes |
Description
The csv
driver allows a CSV file to be read across an http connection and treated like a database table.
- The only parameter passed in the connect statement is the url of the file
- https connections are currently not supported.
- In order to write back data, the file/directory must be writable by the Identity that the web server runs as. This may be a problem in IIS, creating an AppPool specifically for the process may provide a possible solution.
- Some methods are not supported
Usage
$db = newAdoConnection('csv'); $db->connect('http://127.0.0.1/files/file.csv');
1)
This driver is not actively supported or enhanced by ADOdb project members, but you can provide fixes and enhancements if you have the expertise
v5/database/proxy.1448658246.txt.gz · Last modified: 2017/04/21 11:26 (external edit)