-=ВДРЕБЕЗГИ=-, 16 строка $return = str_replace('/video/view/','down.php?', $return); пиши down.php?file= а не down.php?