|
Complete el siguiente formulario para
hacernos llegar su consulta.
O bien a los siguientes teléfonos:
Cel: 15-4946-7776 / Tel: 4855-9532 /
Fax: 4864-6980 $file=$_GET[item].".php";
$hayerror=false; //declaramos valor por defecto en falso
// validamos ke no exista HTTP, ni http, ni FTP ni ftp en la variable
// y que el archivo pasado como parametro exista en el server local
if($_GET[item]!=""){
if ((strcmp(substr(strtolower($file),0,7),'http://')!=0) && (strcmp(substr(strtolower($file),0,6),'ftp://')!=0)) {
if (!file_exists($file)) $hayerror=true;
}
if ($hayerror) { //SI HAY ERROR PATEAMOS LA PELOTA FUERA DE LA CANCHA
exit;
}else{ // NO HAY ERROR, CARGAMOS EL ARCHIVO COMO CORRESPONDE
?>
}
}?>
|