uploading file encoding error

From: Date: Thu, 27 May 2010 14:49:23 +0000
Subject: uploading file encoding error
Groups: php.general 
Request: Send a blank email to php-general+get-305566@lists.php.net to get a copy of this message
hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as to solve my problem ? my code looks like that... $uploaddir = $_SERVER['DOCUMENT_ROOT'] . '/**** /****/public_html/uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { echo "success"; } else { echo "error"; } thanx -- Manolis Vlachakis Nelly's Family Hotel Visit : www.nellys-hotel.gr www.nellys.gr Skype : manolis.vlachakis

« previous php.general (#305566) next »