OK, now I just need to trim off the file name...
this is what I got so far:
<?php
$result= $_SERVER['PHP_SELF'] ;
$result = rtrim($result, ' ???? ') ;
echo $result ;
?>
it give me this:
/directory/filename.ext
But I need to trim off the filename.ext
any ideas what to replace ???? with to acomplish this ?
tia
"Hacker by Heart"
saenzcorp@hotpop.com