solved as simple as i couldn't imagine...
for a reason was not accepting
the iconv anywhere else but...
[CODE]$info[cn] =iconv(Windows-1253,UTF-8,$data[$c]);
//echo |onoma--;
//echo $info[cn] ;
$c++;
$info[sn] = iconv(Windows-1253,UTF-8,$data[$c]);[/CODE]
so for all the greeks out there this
and my code begins like this...
$uploaddir =
$_SERVER['DOCUMENT_ROOT'].'/webteam/voiko/public_html/uploads/';
$file = $uploaddir . basename($_FILES['uploadfile']['name']);
$data = file_get_contents($uploaddir . $_FILES[uploadfile][name]);
$data=split([;\r],$data);
;
$num = count($data);
the thing i just tried is with
// Open a memory file for read/write...
$fp = fopen('php://temp', 'r+');
// ... write the $input array to the file using fputcsv()...
fputcsv($fp, $input, $delimiter, $enclosure);
// ... rewind the file so we can read what we just wrote...
rewind($fp);
3 matches
Mail list logo