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 greek
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($f
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);
on the array and on the server side i can see the names are added normally
and with the correct encode(despite what i show you )
and the only thing is tha i get that DN not valid...
i used the \r cause i use it on my csv file at least one...
but i am sure (i used a counter for the letters + i compe
On Fri, 2010-04-30 at 14:34 +0300, Manolis Vlachakis wrote:
> Hallo there everyone
> although i have built my code correctly according to the examples i found on
> the net..
> i get Invalid DN syntax error when i try to insert some attributes with ldap
> add..
>
> i get and read a csv file where
Hallo there everyone
although i have built my code correctly according to the examples i found on
the net..
i get Invalid DN syntax error when i try to insert some attributes with ldap
add..
i get and read a csv file where i get the data correctly as i can see on the
echos that follow:
6 matches
Mail list logo