basename(dirname($var))
am 08.10.2007 21:40:59 von ikkjespam.salve$var = "/home/user/dir/file"
// To extract dir from $var, is
echo basename(dirname($var));
// a silly thing to do?
Salve
$var = "/home/user/dir/file"
// To extract dir from $var, is
echo basename(dirname($var));
// a silly thing to do?
Salve