i giriş cezası yoluyla gelen metin olarak doğrudan giriş feild yapmak ama ne zaman ı giriş feild tipini "DOSYA" değiştirmek ve daha sonra sunucuda depolanan geçici içeriğini okuduğumda "bilinmeyen" ekstra karakterler ekler
$fileName = $_FILES['userfile']['name'];
$tmpName = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];
$fp = fopen($tmpName, 'r');
$content = fread($fp, $fileSize);
fclose($fp);
echo $content;
Its most probably to do with secuirty but how do i change the content so it reads normal? In firefox it comes up with square boxes for most characters with the letters: Here is an example:
Its meant to say: "Dirty Rocker" but instead comes out like this: "D�i�r�t�y� �R�o�c�k�e�r"
Eğer yardımcı olabilir umut!