Because i normally code in CSS, i use the Include for the source.css file.
Then the rest is simple
Because i normally code in CSS, i use the Include for the source.css file.
Then the rest is simple
LMAO.
I use:
<?php
$val = $_GET['id'];
$val .= ".php";
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val);
if (isset($_GET['id'])) {
if (file_exists($val)) {
include "$val";
}
else {
include "404.php";
}
}
else {
include "home.php";
}
?>
I used it AGES ago when I used Radio Stats etc. Now I use PHP Navigation.
PHP Navigation?
That code, and then name the links like:
index.php?id=home
index.php?id=page
Nope,
www.site.com/?page_here
OO. Thats not a good way,
Want to hide these adverts? Register an account for free!