View Single Post
Old 08-13-2005, 05:06 PM  
budz
Disruptive Innovator
 
budz's Avatar
 
Industry Role:
Join Date: Sep 2003
Location: Vegas
Posts: 4,230
Quote:
Originally Posted by woj
$page = basename($_SERVER['REQUEST_URI']); (?)
Quote:
Originally Posted by mkx
That displays test.php without the / so it needs to just remove the .php

PHP Code:
$page str_replace(".php"""$page); 
__________________
C:\Code\
C:\Code\Run\
budz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote