$img_dir = "/images";  ←ここじゃねーの?
$img_path = $img_dir.$_FILES["uploadfile"]["name"];

echo $img_path してみなよ