Procedural File: adodb-csvlib.inc.php
Source Location: /includes/classes/adodb/adodb-csvlib.inc.php
Page Details:
Tags:
adodb_write_file [line 266]
void adodb_write_file(
$filename, $contents, [ $debug = false])
|
|
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)
Parameters
| |
$filename |
|
| |
$contents |
|
| |
$debug |
|
csv2rs [line 93]
recordset, &csv2rs(
url $url, err &$err, [timeout $timeout = 0], [ $rsclass = 'ADORecordSet_array'])
|
|
Open CSV file and convert it into Data.
Tags:
Parameters
| url |
$url |
file/ftp/http url |
| err |
&$err |
returns the error message |
| timeout |
$timeout |
dispose if recordset has been alive for $timeout secs |
| |
$rsclass |
|
_rs2serialize [line 34]
the _rs2serialize(
rs &$rs, [ $conn = false], [ $sql = ''])
|
|
convert a recordset into special format
Tags:
Parameters
| rs |
&$rs |
the recordset |
| |
$conn |
|
| |
$sql |
|
|
|