in reply to (tye)Re: Cutting of Pathin thread Cutting of Path
substr($files[$i], 0, length($conf{rootdir})+1) = ''; [download]
UPDATE: I added 1 to the length to deal with the extra forward slash character...