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 [2015/10/08 02:50]
mnewnham
v5:database:proxy [2020/01/13 13:15] (current)
dregad Add tags
Line 1: Line 1:
-====== CSV File ====== +====== Proxy ====== 
-<WRAP todo+~~NOTOC~~ 
-The syntax required and necessary file formats have not yet been identified from the legacy documentationCan you help?+<WRAP right box round 300px
 +== See Also == 
 +[[v5:proxy:proxy_index|ADOdb Proxy Server]]\\ 
 +== Specification == 
 +^Driver Name|proxy| 
 +^Alternate Name|csv| 
 +^Data Provider|proxy| 
 +^Status|Deprecated((This driver will be removed in a future version of ADOdb))| 
 +^Windows|Yes| 
 +^Unix|Yes| 
 +^ADOdb V5|Yes| 
 +^ADOdb V6|Yes| 
 + 
 +</WRAP> 
 +<WRAP important> 
 +This functionality is deprecated as of ADOdb 5.21.0 and will be removed in a later release, unless the community contributes with necessary security enhancements, [[https://github.com/ADOdb/ADOdb/pull/444|as discussed on Github]].
 </WRAP> </WRAP>
-===== 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 
- 
-===== Specification ===== 
-|Driver|csv| 
-|Status|Inactive| 
-|Supported OS|Windows/Unix| 
  
 +===== 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.1444265444.txt.gz · Last modified: 2017/04/21 11:26 (external edit)