How do I use a conditional to exclude an element from an include on only one page?
<p>I have a generic include that contains secondary navigation, etc. that is included on every page of a site. It also contains a graphic that I want to appear on every page but the home page. I realize that it would be trivial to do this client side and just remove the node from the DOM on load on that one page, but for various reasons I want to do this server side.</p>

<p>I have this:</p>

<pre><code>&lt;?php
if ($_SERVER['REQUEST_URI'] == '/index.php') {
    echo "";
}
else {
    echo "&lt;img src=\"img/foobar.gif\" width=\"60\" height=\"96\" alt=\"description\" /&gt;";
}
?&gt;
</code></pre>

<p>This works for <code>domain.com/index.php</code>, but I can't figure out how to get it to work for both <code>domain.com/index.php</code> and <code>domain.com/</code>. My experiments with the OR operator caused the graphic to disappear from all pages (because every page includes the root domain in the path). Help me out PHP gurus!</p>
