I made my index.php, put this code in it:
Code: Select all
<link href="index.css" type="text/css" rel="stylesheet" />
<title>Test</title>
<div id="topbar">
<? include "logged.php"; ?>
</div>
<div id="body">
</div>Looked just like the HTML site but it was a PHP file.
I got other PHP files to run some of the features on my site though.
And now, is it even secure to do this? As it's just basic HTML code put in a PHP file.
Sorry if I posted in the wrong area.