MOON
Server: Apache
System: Linux kvm.asjudinet.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: asjudine (1001)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/asjudine/www/comercial/descargar_archivos_desplazamiento_tres.php
<?php

require_once("../Conectarse.php");

$result = mysql_query('SELECT * FROM control_recorridos WHERE id= "'.$_GET["id"].'" ');
			if (!$result) {
				die('Invalid query: ' . mysql_error());
			}
if ((mysql_num_rows($result)!=0)) 
{

			$row = mysql_fetch_row($result);
            $id = $row[0];
			$nombre = $row[24];
			$contenido = $row[25];
			$tipo = $row[26];
header("Content-type: $tipo");
header("Content-Disposition: attachment; filename=$nombre");
print $contenido; 

}  


  

?>