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++)
122 $this->data[
$row][$col] = $this->
unquote($line[$col]);
139 return str_replace($this->delimiter.$this->delimiter, $this->delimiter,$a_str);