Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/11/2007, 10:12
Avatar de BICHARRACO
BICHARRACO
 
Fecha de Ingreso: noviembre-2007
Mensajes: 6
Antigüedad: 17 años, 5 meses
Puntos: 0
Re: Redireccion de sub dominio mediante codigo =S

Este es el php:

Cita:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Comunidad Zen Zone</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.Estilo1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style></head>
<body>
<div align="center">
<table width="981" height="398" border="0">
<tr>
<td width="975"><div align="center">
<p><a name="2" id="2"></a></p>
<table width="980" height="206" border="0">

<tr>
<td width="942" background="1.jpg">&nbsp;</td>
</tr>
</table>
<p><a href="inicio.php"><img src="ingresar.gif" width="326" height="216" border="0" /></a></p>
<p class="Estilo1">Copyrigth &copy; 2007 Comunidad Zen Zone </p>
<p><a name="1" id="1"></a></p>

</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Haber como lo pondiras vos lo que me dijiste
Por que toy hace tiempaso con esto y no puedo colocar este maldito codigo:

Cita:
<%


'si es el subdominio (con www)


if Request.ServerVariables (&quot;SERVER_NAME&quot;) =


www.mu.zen-zone.org then


Response.Redirect &quot;/zen-zone.org/mu/index.asp&quot;


'sin www igual que arriba


elseif


Request.ServerVariables (&quot;SERVER_NAME&quot;) = mu.zen-zone.org then


Response.Redirect


&quot;/zen-zone.org/mu/index.asp&quot;


end if




RESTO DEL CODIGO




%>
Desde ya muchas gracias