View Single Post
  #74 (permalink)  
Old 07-19-2008, 04:00 PM
chili5's Avatar   
chili5 chili5 is offline
Code Warrior
 
Join Date: Mar 2008
Age: 16
Posts: 3,940
Last Blog:
DWITE 2
Credits: 0
Rep Power: 35
chili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to all
Default Re: Including header file using HTML

Yeah I'm confused also.

I've figured out how to make it so that pages that are included can't be viewed unless their included in a page. At the top of the included file:

PHP Code:
<?php
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
header("Location: index.php");
}
?>
of course, you could use the same concept to make the logo on the home page not link to the home page but still link on all the other pages. Amazing concept
__________________
I've found time can heal most anything
And you just might find who you're supposed to be
I didn't know who I was supposed to be at fifteen.
~ Taylor Swift
Reply With Quote