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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> wrote in
> message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]