![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/12/2011, 15:59
|
![Avatar de luis_h_1](http://static.forosdelweb.com/customavatars/avatar373982_2.gif) | | | Fecha de Ingreso: octubre-2010 Ubicación: México
Mensajes: 42
Antigüedad: 14 años, 3 meses Puntos: 4 | |
Respuesta: Cargar index dependiendo del dominio Hola, podria funcionarte con
$_SERVER['HTTP_HOST']
y con un if cambiar tu hoja de estilos
<?php
if($_SERVER['HTTP_HOST'] == "www.dominioA.com"){
?>
<link rel="stylesheet" href="style_sheet_dominioA.css" type="text/css" />
<?php
}else{
?>
<link rel="stylesheet" href="style_sheet_dominioB.css" type="text/css" />
<?php
}
?>
Saludos, ojala te sirva xD |