Guys and girls, I'll be quite honest. I don't have the faintest idea
how to do this, while I can do other php without a problem. Once I
know how to go about it I'll be okay.
It's two things I think?
1. see if there's a trailing slash and delete it.
2. Remove the preceding path to /x, the folders and slashes, and
delete them.
and then I have x.
X by the way is the final folder in a website and this grabs it for
me.
<?
$name = $REQUEST_URI;
?>
Any help would be greatly appreciated.
Thanks !!!!!!!!!!!!!!! !!!!
how to do this, while I can do other php without a problem. Once I
know how to go about it I'll be okay.
It's two things I think?
1. see if there's a trailing slash and delete it.
2. Remove the preceding path to /x, the folders and slashes, and
delete them.
and then I have x.
X by the way is the final folder in a website and this grabs it for
me.
<?
$name = $REQUEST_URI;
?>
Any help would be greatly appreciated.
Thanks !!!!!!!!!!!!!!! !!!!
Comment