note 29253 rejected from function.pathinfo by nicos
| From: | nicos@php.net | Date: | Fri, 07 Feb 2003 13:35:16 +0000 |
| Subject: | note 29253 rejected from function.pathinfo by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43561@lists.php.net to get a copy of this message | ||
try this:
//prova questo:
<?php
$url = explode("/",$PHP_SELF);
$cdir = 5;
while ($cdir != 1) {
$dir = $url[sizeof($url)-$cdir];
echo "$dir/";
$cdir--;
}
?>
where $cdir is the max deep you want see.
//dove $cdir è la profondità massima che si vuole raggiungere.-
hi carlo
//ciao carlo
|,-)'
mulitmediaservice.org