Che strano... ho provato pure io e a me viene fuori
/willybit/prove/forumhtml/lelo/
:gren: hehehhe che simpaticone che sono
vuoi sapere la prima cartella?
codice:
<%
pathInfo = Request.ServerVariables("Path_Info")
Response.Write Left(pathInfo, InStrRev(pathInfo, "/")) & "
"
if InStr(2,pathInfo, "/")>0 then
Response.Write Left(pathInfo,InStr(2,pathInfo, "/"))
else
Response.Write "/"
end if
%>
<script language="javascript">
var pathInfo = document.location.pathname
document.write(pathInfo.substr(0,pathInfo.lastIndexOf('/')+1) + '
');
if(pathInfo.indexOf('/',2)>0)
document.write(pathInfo.substr(0,pathInfo.indexOf('/',2)+1) + '
');
else
document.write('/');
</script>