Forum

> > Unreal Software > Site hard coding (for DC)
Forums overviewUnreal Software overviewLog in to reply

English Site hard coding (for DC)

7 replies
To the start Previous 1 Next To the start

old Site hard coding (for DC)

Greenhawk
User Off Offline

Quote
I've been inspired lately in the programming field and I'm currently making a website from scratch(hardcoded). I have a question for @user DC: ? When you make your pages did you create some sort of post .php program to make your article or did you just uses the same forum script to make your pages. (For example your games pages). I'm just really curious because this site is friggen rad.

old Re: Site hard coding (for DC)

VADemon
User Off Offline

Quote
.php files are the same for one content type, but the data submitted (look: /forum_answer.php?post=369622) is different.

old Re: Site hard coding (for DC)

DC
Admin Off Offline

Quote
The basic principle for each page on this site is:
1
2
3
require_once "header.php";
echo "content";
require_once "footer.php";
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).
edited 1×, last 09.03.14 12:45:43 pm

old Re: Site hard coding (for DC)

Greenhawk
User Off Offline

Quote
user DC has written
The basic principle for each page on this site is:
1
2
3
require_once "header.php";
echo "content";
require_once "footer.php";
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).


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.
To the start Previous 1 Next To the start
Log in to replyUnreal Software overviewForums overview