Afficher un message
Vieux 25/02/2008, 14h48   #1
Gilles Ganault
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [5.2.5] Alternative to include() to replace a string?

Hello

Currently, I use include(header.inc) to add the HTML header to each
page, but I need to customize the TITLE bit "Some page":

==========
<html> <head> <link rel="STYLESHEET" href="display.css"
type="text/css">
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1">
<title>Some page</title>
</head>
<body>
==========

Before I replace each include() with
fopen/fread/fclose/str_replace/echo, I was wondering if there were an
easier solution to this?

Thank you.
  Réponse avec citation
 
Page generated in 0,04411 seconds with 9 queries