Tema: De links
Ver Mensaje Individual
  #26 (permalink)  
Antiguo 20/02/2012, 08:45
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: De links

@humanista, a esta altura ya estoy un poco confundido, pero a ver si esto te sirve de algo para orientarte al menos



envia.php

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
  2. Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. </head>
  7.  
  8. <a href="recibe.php?http://news.google.com/news/url?sa=t&amp;fd=R&amp;usg=AFQjCNHXpa2Erb763LrLZpz615MvadUblg&amp;url=http://www.diarioinformacion.com/elche/2011/12/26/tres-doberman-hieren-pareja-gasolinera-elche/1205548.html">con amp</a> |
  9. <a href="recibe.php?http://news.google.com/news/url?sa=t&fd=R&usg=AFQjCNHXpa2Erb763LrLZpz615MvadUblg&url=http://www.diarioinformacion.com/elche/2011/12/26/tres-doberman-hieren-pareja-gasolinera-elche/1205548.html">sin amp</a>
  10.  
  11. </body>
  12. </html>

recibe.php

Código PHP:
Ver original
  1. <?php
  2. $link = $_SERVER['QUERY_STRING'];
  3. header("Location: $link");
  4. ?>

Funciona de las dos maneras, com amp y sin amp
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.