Re: Can I use PHP3 to load the contents of an htm page into a php3 page

From: Date: Mon, 08 Jan 2001 20:24:13 +0000
Subject: Re: Can I use PHP3 to load the contents of an htm page into a php3 page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33302@lists.php.net to get a copy of this message
What you want to do is very easy news.php3 <? include_once("/home/httpd/vhosts/newsite/news01.htm"); ?> Chris Lee Mediawaveonline.com ""Sefton"" <c.sefton@xtra.co.nz> wrote in message news:93d5se$k4b$1@toye.p.sourceforge.net... > Hello, > > Here is what I would like to do. > > I have a page called news.php3 > Every month the pages content changes. Usually called issue01.htm, > issue02.htm etc. > > What I want to do is with my page news.php3(the main page) load in the html > from issue01.htm > The reason for this, is I would like to include some extra code at the > beginning of the file but this is just a pain, if I could get it to do it > automatically that would be good. Then all I have to do is update the link > each month. > > I hope you know what I am trying to say. > > Any help would be great, > > Thanks > > Chris > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#33302) next »