PDA

View Full Version : how do i do this?


DjSap
03-02-2002, 07:26 PM
well i wanna make a function so that when im on a specifik php page (i.e. news.php) a template within the header is shown, the only way to do this is by placing an IF thingy in global.php so that it checks which page your on, is there a function for this?

Admin
03-03-2002, 08:57 AM
Right from global.php:
if(substr($PHP_SELF,-strlen('news.php'))=='news.php') {