Hi guys i have searched and searched but i cannot work out how to only return the top folder eg this shows..
/home/username/public_html/dev/toolbar
i want to only show with no /
toolbar
Thanks in advanced.
Gobble.
/home/username/public_html/dev/toolbar
i want to only show with no /
toolbar
Code:
<?php
// current directory
echo getcwd() . "\n";
?>
Gobble.
Comment