Re: remove header tags - include file

From: Date: Wed, 17 Jul 2002 17:08:35 +0000
Subject: Re: remove header tags - include file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108121@lists.php.net to get a copy of this message
JPA> Hi guys, me again. JPA> (thanks kevin, but i'm afraid you didn't understand me). JPA> After looking for untiringly in the archives I have I decide to ask again. JPA> This is my problem: JPA> I want include the file html.html inside of my file index.php, but before JPA> include it I want to remove <html>..</head> tags from my html.html file. JPA> My pseudo code would be look like this: JPA> > index.php JPA> <?php JPA> include_once("common.php"); JPA> header("Welcome to my page"); JPA> include_html_file("html.html"); JPA> footer() ?>> JPA> > common.php JPA> function include_html_file($f) JPA> { JPA> (your kind contribution:-) ) JPA> } JPA> thanks!! JPA> --jp How do you mean remove? Do you mean you want to include the file html.html but not the "<html>...</head>" part? And why? -- Best regards, Asmodean mailto:asmodean@lka.nu

« previous php.general (#108121) next »