getRow($sql); $mime = $row[0]; $filename = $row[1]; $size = $row[2]; header('Location Content-Type='.$mime); header('Location Content-Disposition= attachment; filename='.$filename); header('Location Pragma=no-cache'); header('Location Expires=0'); header('Location Content-Length='.$size); ?>