The thread was of interest because I have similar URLs and do not have breadcrumbs so decided to have a go 
// jbBreadCrimbs($url, $spacer);
PHP Code:
<?php
defined('_SPACER') ?: define('_SPACER', ' ¥ ');
function jb_breadCrumbs($url, $spacer = _SPACER)
{
$result = '';
# cheated with a KLUDGE :)
$aKLUDGE = array('?', '=');
$url = str_replace($aKLUDGE, '/', $url);
$urlStr = parse_url($url, PHP_URL_PATH);
$aTmp = parse_url($url);
$host = $aTmp['host'];
$home = '<a href="http://' .$host .'">home</a>';
$result .= $home;
// parse $url and display each link
$urX = '';
$links = explode('/', $urlStr);
foreach($links as $link):
if( ! empty($link) ):
$urX .= '/' .$link;
$result .= $spacer;
$result .= '<a href="http://' .$host .$urX .'">' .$link .'</a>';
endif;
endforeach;
return $result;
}#
$urlDebby = 'http://local.debbie/finance/articles/postage-meters-can-save-you-money';
$urlThread = 'http://www.sitepoint.com/forums/showthread.php?1012952-Pretty-URL-s-and-Breadcrumbs&p=5370902#post5370902';
$tests = array
(
'Hard-coded test Debby Site' => $urlDebby,
'Hard-coded test This Thread' => $urlThread,
'$_SERVER["PATH_INFO"]' => 'http://localhost' .$_SERVER["PATH_INFO"],
'$_SERVER["REQUEST_URI"]' => 'http://localhost' .$_SERVER["REQUEST_URI"],
);
echo '<dl style="width:1200px">';
foreach($tests as $test => $url):
echo '<dt>"' .$test .'</dt>';
echo '<dd>$url => ' .$url .'</dd>';
echo '<dd>' .jb_breadCrumbs($url) .'</dd>';
echo '<dd>' .' </dd>';
endforeach;
echo '</dl>';
// Output
Special Note: This works on my computer but this editor is messing with the strings and links
Bookmarks