Thread
:
Need quick php script
View Single Post
08-13-2005, 05:06 PM
budz
Disruptive Innovator
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
View Public Profile
Visit budz's homepage!
Find More Posts by budz