Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]
Library for CSV serialization. This is used by the csv/proxy driver and is the CacheExecute() serialization format.
Copyright: | 2000-2013 John Lim |
Copyright: | 2014 Damien Regad, Mark Newnham and the ADOdb community |
License: | BSD-3-Clause |
License: | LGPL-2.1-or-later |
File Size: | 319 lines (9 kb) |
Included or required: | 4 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
_rs2serialize(&$rs,$conn=false,$sql='') X-Ref |
convert a recordset into special format return: the CSV formatted data param: rs the recordset |
csv2rs($url,&$err,$timeout=0, $rsclass='ADORecordSet_array') X-Ref |
Open CSV file and convert it into Data. return: recordset, or false if error occurred. If no param: url file/ftp/http url param: err returns the error message param: timeout dispose if recordset has been alive for $timeout secs |
adodb_write_file($filename, $contents,$debug=false) X-Ref |
Save a file $filename and its $contents (normally for caching) with file locking Returns true if ok, false if fopen/fwrite error, 0 if rename error (eg. file is locked) |