note 29290 rejected from function.pathinfo by andrew
| From: | andrew@php.net | Date: | Mon, 22 Sep 2003 00:08:57 +0000 |
| Subject: | note 29290 rejected from function.pathinfo by andrew | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56856@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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
|,-)'
multimediaservice.org