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 revision Previous revision
Next revision
Previous revision
v5:database:proxy [2016/04/12 00:58]
mnewnham
v5:database:proxy [2020/01/13 13:15] (current)
dregad Add tags
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|Deprecated((This driver will be removed in a future version of ADOdb))|
 ^Windows|Yes| ^Windows|Yes|
 ^Unix|Yes| ^Unix|Yes|
Line 16: Line 15:
  
 </WRAP> </WRAP>
-===== Description ===== +<WRAP important> 
-The ''csv'' driver allows a CSV file to be read across an http connection and treated like a database table.  +This functionality is deprecated as of ADOdb 5.21.0 and will be removed in later releaseunless the community contributes with necessary security enhancements, [[https://github.com/ADOdb/ADOdb/pull/444|as discussed on Github]]
-  * The only parameter passed in the connect statement is the url of the file +</WRAP>
-  * 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+
  
 +===== Description =====
 +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 interchangeably, but since 5.21, enhancements and fixes are only applied to the ''proxy'' driver, and only that one should be used.
 +--------------------------------------------------
 ===== 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>
  
- +{{tag>proxy deprecated}}
v5/database/proxy.1460415514.txt.gz · Last modified: 2017/04/21 11:25 (external edit)