title: How to get the text for PHP breadcrumbs?
body: <p>I have made a simple PHP "Breadcrumbs" class, that can convert a path like this:</p>
  
  <pre><code>some_folder/subfolder/page.php
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>Home &gt; some_folder &gt; subfolder &gt; page
  </code></pre>
  
  <p>where each element links to the appropriate page. However, what I really want is to get the text for these breadcrumbs from somewhere other than the filename, so that it can look more like this:</p>
  
  <pre><code>Home &gt; Cool Stuff &gt; Animals &gt; Spiders
  </code></pre>
  
  <p>I thought of using HTML &lt; meta > tags but:</p>
  
  <ol>
  <li>I don't know if this is efficient</li>
  <li>This won't work for directories, only pages</li>
  </ol>
  
  <p>So, can anyone tell me a good way of doing this? (Thanks!)</p>