Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/01/2010, 15:42
guero2099
 
Fecha de Ingreso: enero-2010
Mensajes: 4
Antigüedad: 14 años, 4 meses
Puntos: 0
index.php por partes [ayuda]

Tengo un sitio ya desarrollado pero quisiera usar php para actualizar algunas cosas mas rápido.

Digamos manejarlo como plantilla, tener mi index.php y mis notas, y que jalara el head, title y los meta desde otro archivo header.php o header.html, así si modifico uno se modifica en todos.

Poner en index.php y mis notas algo como <?php get_header(); ?>

En header.html poner algo como y funcione

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html >
<head >
<title>Titulo</title>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://sitio.com.mx/xmlrpc.php?rsd" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="Locality" content="Puebla, México" />
<meta name="lang" content="es" />
<meta name="rating" content="General" />
<meta name="robots" content="ALL" />
<meta name="robots" content="index, follow" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</head>


gracias por la ayuda