#include "apage.html"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

#include "apage.html"

Post by Vegan »

lots of web sites use PHP #incjude to assemble content, this forum is a good example

in a WP text box however I cannot include HTML that easily, yo Google

http://www.w3schools.com/howto/howto_html_include.asp

This looks like an alternative

my chess site is manually coded with HTML 5

the tournaments as they are now are updated with a mere sync of the site, the components are defined

so the crummy code for the chess results is messy and there is not much i can do about it at the moment
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: #include "apage.html"

Post by Celauran »

What is it you're trying to accomplish? You can use includes at the template level. Allowing arbitrary includes through user-facing input sounds like a terrible idea.
Post Reply