Some simple php code;
$dir = '../images/'; $file = $_GET['name']; // Last, First M. "nickname" $f = $dir.$file; list($width, $height, $type, $attr) = getimagesize($f); echo $f."<br />"; echo "width ".$width."<br />"; echo "<img src='$f' $attr title='getimagesize example' />";
while the last echo line displays the image correctly (and the title) the gretimagesize function has a problem (No such file or directory). I'm fairly sure this is because the filename includes spaces. How can this be solved? Changing the actual file name is not possible (there are more than 23,0000!).