Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/03/2005, 10:25
Avatar de Chichoauza
Chichoauza
 
Fecha de Ingreso: enero-2005
Mensajes: 106
Antigüedad: 19 años, 4 meses
Puntos: 0
yo habia estructurado un web modular de la siguiente manera, pero no se si sera la mejor opción...


Código:
<?
$path=$_GET["path"];
?>
<html>
<head>
<? include("files/meta-tags.php") ?>
</head>
<body>
<!-- ADORNOS HTML... -->
<? include("files/enc.php") ?>
<!-- MAS ADORNOS HTML... -->
 
<? include("$path") ?>
 
<!-- MAS ADORNOS HTML... -->
<? include("files/pie.php") ?>
</body>
</html>

La variable path es la que me traeria el contenido, por ejemplo: http://www.mi-sitio.com.ar/?path=manuales/manual.php

je, ustedes diran...

saludos...

Última edición por Chichoauza; 06/03/2005 a las 10:28