Forum
Unreal Software Site hard coding (for DC)Site hard coding (for DC)
7 replies 1
1
2
3
2
3
require_once "header.php"; echo "content"; require_once "footer.php";
Pages like the game information pages are hardcoded. I don't have a CMS to maintain them (and I don't need it because I'm not changing them frequently).
edited 1×, last 09.03.14 12:45:43 pm
Duh fuck DC was faster than me.
Admin/mod comment
§2.4 - Use tags sparingly and only when they add value DC has written
The basic principle for each page on this site is:
header.php actually also contains the navigation menu etc. (and in my case it also includes a number of additional PHP files like database connection and login stuff). Oh and don't try to open header.php or footer.php directly. They have other names and are located in a protected folder for security reasons.
Pages like the game information pages are hardcoded. I don't have a CMS to maintain them (and I don't need it because I'm not changing them frequently).
1
2
3
2
3
require_once "header.php"; echo "content"; require_once "footer.php";
Pages like the game information pages are hardcoded. I don't have a CMS to maintain them (and I don't need it because I'm not changing them frequently).
Interesting! I do the same with my header and footer for almost the same reasons. I'm hardcoding too but my skills are beginner so it may take a while . Thanks for your input.
@ DC: What is Idiot Features ?
and old thread warning me!
1