Public Member Functions | |
file () | |
Class Constructor. | |
_file () | |
Class Destructor. | |
file_append ($file, $data) | |
Append data to a file. | |
file_append_bypointer ($filepointer, $data) | |
Append data to a file by pointer. | |
file_check ($file) | |
Check if file exist. | |
file_delete ($file) | |
Erase a file. | |
file_flush_errors () | |
Will flush the complete file error buffer. | |
file_get_errorlist () | |
Return error string list. | |
file_getsize ($file) | |
Return file size in kByte. | |
file_getsize_byte ($file) | |
Return file size in Byte. | |
file_getdata_normal ($file) | |
Load file data into a variable. | |
file_getdata_normal_bypointer ($fpointer, $lenght=65535) | |
Load file data into a variable by pointer. | |
file_getdata ($file) | |
Load file data into array. | |
file_getdata_reverse ($file) | |
Load file data reverse into array. This function is only written for server with PHP3. In newer PHP versions use the array_reverse() function. | |
file_get_column_reverse ($file, $nr, $sign) | |
Load special column reverse out of file. | |
file_get_column ($file, $nr, $sign) | |
Load a special column out of a file. | |
file_getheader ($file) | |
Return file header (Only first line of file). | |
file_nrlines ($file) | |
Returns number of file lines. | |
file_upload ($file, $name, $folder) | |
Upload a data file to special folder. | |
Public Attributes | |
$file_error_hdl = 0 |
|
Class Constructor.
|
|
Class Destructor.
|
|
Append data to a file.
|
|
Append data to a file by pointer.
|
|
Check if file exist.
|
|
Erase a file.
|
|
Will flush the complete file error buffer.
|
|
Load a special column out of a file.
|
|
Load special column reverse out of file.
|
|
Return error string list.
|
|
Load file data into array.
|
|
Load file data into a variable.
|
|
Load file data into a variable by pointer.
|
|
Load file data reverse into array. This function is only written for server with PHP3. In newer PHP versions use the array_reverse() function.
|
|
Return file header (Only first line of file).
|
|
Return file size in kByte.
|
|
Return file size in Byte.
|
|
Returns number of file lines.
|
|
Upload a data file to special folder.
|
|
Error message handler |