Code: Select all
$ufn="tmp/".basename($_FILES['imgfile']['name']);
move_uploaded_file($_FILES['imgfile']['tmp_name'],$ufn);
$content_file=implode("", file($ufn));
$size1=$_FILES['imgfile']['size'];
$size2=strlen($content_file);Code: Select all
size1: 24739
size2: 17728(This is the simplified main problem of this viewtopic.php?t=28117 question.)