how to write the if condition part?
<p>there are some links as the following</p>

<pre><code>    https://example.com/cart.php
    https://example.com/cart.php?gid=1
    https://example.com/cart.php?gid=2
    https://example.com/cart.php?a=view
    https://example.com/cart.phpcart.php?a=confproduct&amp;i=0
.......
</code></pre>

<p>i want to add some text on those links page. how to write the if condition?</p>

<pre><code>if($_SERVER['REQUEST_URI']=='/cart.php'||......)
</code></pre>

<p>is there a simple way to do that?</p>
