Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/12/2013, 15:01
Avatar de CoriaWeb
CoriaWeb
 
Fecha de Ingreso: septiembre-2012
Ubicación: Coria del Río - Sevilla
Mensajes: 1.795
Antigüedad: 11 años, 8 meses
Puntos: 130
Respuesta: PHP en mi dominio

Prueba asi:

Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4.  
  5. <html>
  6.  
  7. <body color="#B81321">
  8. <?php
  9.  
  10. $pin = $_POST["code"]
  11.  
  12.  if($pin==711922){      
  13.         echo "<head><meta http-equiv='refresh' content='0; url=promotionW.html'></head>";
  14.     }
  15.     else {
  16.  
  17.         echo "<head><meta http-equiv='refresh' content='0; url=promotionL.html'></head>";
  18. }
  19. ?>
  20.  
  21. </body>
  22. </html>
__________________
Hosting de Calidad
Servidores Dedicados Administrados
CoriaWeb.hosting