PHP Breadcrumbs

How do i make a breadcrumbs code (either PHP or even Javascript) that leaves out a specific directory out of the path shown? For example, the path to one of my files goes: www.mysite.com/Pages/Folder/file.htm. So far, i’ve got this to display as Home>Pages>Folder>File Title. Is there any way to take the “Pages” section out of the breadcrumbs?