Skip to content

Instantly share code, notes, and snippets.

@ChrisGehm
Created January 23, 2014 18:55
Show Gist options
  • Save ChrisGehm/8584597 to your computer and use it in GitHub Desktop.
Save ChrisGehm/8584597 to your computer and use it in GitHub Desktop.
<?php
if(!isset($_GET['id']))
{
exit("no se argumento correctamente");
}
$id = $_GET['id'];
$guardar = 'seminario/envio/recibos/'.$id.'.rtf';
//header('refreshurl=/Seminario/envio/recibos/'.$id.'.rtf');
echo '<meta http-equiv=refresh content=0;URL=/'.$guardar.'>';
?>
<p > Archivo Generado! </p>
<?php
//echo '<a href="/Seminario/envio/recibos/'.$id.'.rtf" style="color:#710678; font-weight:bold; font-size:15px; padding-left:15px;">Descargar</a>';
echo '<br>';
echo '<br>';
echo '<a href="envio.php" style=" color:#710678; font-size:10px; padding-left:15px;">Volver</a>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment