Thread
:
get current file name as variable
View Single Post
#
1
(
permalink
)
07-19-03, 02:54 AM
paulj000
Bull in a china shop
Join Date: Jul 2003
Location: California, USA
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
get current file name as variable
Hi,
What is the easiest way to get the current file name in the users URL bar as a variable without the domain and sub directories?
Like if they are at
http://www.mydomain.com/dir1/dir2/2003_a.php
then
$currentFile = "2003_a.php"
thanks
paulj000
View Public Profile
Find all posts by paulj000