Mailinglisten-Archive |
Achim Gosse wrote:
>wie bekomme ich den aktuellen pfad raus??
$path = $PHP_SELF;
$path_array = explode("/",$path);
$path_array_length = count($path_array);
$filename = $path_array[$path_array_length - 1];
$pathname1 = $path_array[$path_array_length - 3];
$pathname2 = $path_array[$path_array_length - 2];
sollte Dir das gewünschte Ergebnis liefern
Alexander
php::bar PHP Wiki - Listenarchive