63 $this->separator = $a_sep;
75 $this->delimiter = $a_del;
87 $this->length = $a_length;
93 $this->line_ends = ini_get(
"auto_detect_line_endings");
94 ini_set(
"auto_detect_line_endings",
true);
102 ini_set(
"auto_detect_line_endings", $this->line_ends);
104 return( @fclose($this->ptr_file) );
118 while (($line = fgetcsv($this->ptr_file, $this->length, $this->separator)) !== FALSE)
120 for ($col = 0; $col < count($line); $col++)
139 return str_replace($this->delimiter.$this->delimiter, $this->delimiter,$a_str);
setDelimiter($a_del)
Set delimiter.
setLength($a_length)
Set length.
__construct()
Constructor.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
Create styles array
The data for the language used.
getDataArrayFromCSVFile()
Get data as array from csv file.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file