d
Amit Dhamu
Software Engineer
Articles
Snippets
Colophon
Projects
Uses
Current File Name
1 minute read
00000 views
$self
=
$_SERVER
[
'PHP_SELF'
]
;
$url
=
explode
(
'/'
,
$self
)
;
$current_filename
=
$url
[
count
(
$url
)
-
1
]
;
current file
current page
filename