ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:proxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
v5:database:proxy [2017/07/11 15:59] – ↷ Page name changed from v5:database:csv to v5:database:proxy mnewnhamv5:database:proxy [2017/07/11 16:04] mnewnham
Line 1: Line 1:
-====== CSV File ======+====== Proxy ======
 ~~NOTOC~~ ~~NOTOC~~
-<WRAP todo> 
-The syntax required and necessary file formats have not yet been identified from the legacy documentation. Can you help? 
-</WRAP> 
 <WRAP right box round 300px> <WRAP right box round 300px>
 +== See Also ==
 +[[v5:proxy:proxy_index|ADOdb Proxy Server]]\\
 == Specification == == Specification ==
-^Driver Name|csv+^Driver Name|proxy
-^Alternate Name|proxy+^Alternate Name|csv
-^Data Provider|csv+^Data Provider|proxy
-^Status|Inactive((This driver is not actively supported or enhanced by ADOdb project members, but you can provide fixes and enhancements if you have the expertise))|+^Status|Active((This driver is actively supported by ADOdb project members))|
 ^Windows|Yes| ^Windows|Yes|
 ^Unix|Yes| ^Unix|Yes|
Line 17: Line 16:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The ''csv'' driver allows a CSV file to be read across an http connection and treated like a database table.  +The ''proxy'' driver is the client-side driver used by the  [[v5:proxy:proxy_index|ADOdb Proxy Server]]Prior to ADOdb version 5.21, the ''csv'' and ''proxy'' drivers could be used interchangably, but since 5.21enhancments and fixes are only appled to the ''proxy'' driver, and only that one should be used
-  * 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 asThis may be a problem in IIScreating an AppPool specifically for the process may provide a possible solution+
-  * Some methods are not supported +
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
-$db = newAdoConnection('csv'); +$db = newAdoConnection('proxy'); 
-$db->connect('http://127.0.0.1/files/file.csv');+$db->connect('http://127.0.0.1/files/server.php');
 </code> </code>
  
    
v5/database/proxy.txt · Last modified: 2020/01/13 13:15 by dregad