How can I hide file extensions in PHP?
<p>I'm using the jquery plugin <a href="http://abeautifulsite.net/notebook/58" rel="nofollow">jqueryFileTree</a> with the PHP connector (slightly modified to give directories individual classes) to show the contents of a directory. I want to, however, hide all file extensions. Has anyone done something similar? I can think of one or two ways of implementing it but they seem overly-complicated... </p>

<p>Is there a relatively simple way of doing this in PHP?</p>
