Remove the double-double quotes and the newline around $image: > $img = GetImageSize(""$image\n""); this is Line 13
It should look like: $img = GetImageSize($image); There is no need to double quote a variable when passing as a parm. You would want to double quote a variable when it's in a string like: $var = "The image name is $image<br>\n"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php