Re: Re: Using PHP in Web Pages

From: Date: Thu, 12 Jul 2001 11:43:46 +0000
Subject: Re: Re: Using PHP in Web Pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8281@lists.php.net to get a copy of this message
If all you want to do is pull navigation, or other common components, into a page then PHP is slow compared with the specifically deisgned web-server function for it - SSI (Server Side Includes). Try: http://httpd.apache.org/docs/howto/ssi.html.html I haven't found a HTTP server yet that doesn't support this standard and it's wuicker than calling into PHP by a long way. cheers mmmmmrob --- elias <elias_bachaalany@yahoo.com> wrote: > you can always use PHP and the include(), like > > header.htm is: > <table width="100%"> > <tr><td><a href="#">menu1</a></td><td><a > href="#">menu2</a></td></tr> > </table> > > and footer.htm is another file, > > in your main.php file you can do like: > > <html> > <body> > <?php include("header.htm"); ?> > <!-- some htm here... --!> > <?php include("footer.htm"); ?> > </body> > </html> > > "David Cox" <dave30@tntwireless.net> wrote in > message > news:20010710081511.48289.qmail@pb1.pair.com... > > can someone here steer me in the correct > direction? > > > > heres what i want to do. (im sure its possible)?? > > > > i dont want to have to edit every web page when i > change something. can i > > make multiple pages, (say a header, footer, links, > maintext, and then use > > PHP to call those pages up and put them in certain > places in a web page? > > Without have to set up html frames? Maybe just add > a line of code to place > > it dynamicaly or something.... > > > > thanks, dave > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: > php-windows-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

« previous php.windows (#8281) next »