Forum

> > Unreal Software > Site hard coding (for DC)
ForenübersichtUnreal Software-ÜbersichtEinloggen, um zu antworten

Englisch Site hard coding (for DC)

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Site hard coding (for DC)

Greenhawk
User Off Offline

Zitieren
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.

alt Re: Site hard coding (for DC)

VADemon
User Off Offline

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

alt Re: Site hard coding (for DC)

DC
Admin Off Offline

Zitieren
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).
1× editiert, zuletzt 09.03.14 12:45:43

alt Re: Site hard coding (for DC)

Greenhawk
User Off Offline

Zitieren
user DC hat geschrieben
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenUnreal Software-ÜbersichtForenübersicht