PHP/ Get current URL + conditional
<p>I am not very good at php but I want to detect if a user is in the home of the website such as;</p>

<pre><code>&lt;?php
if (current path = http://website.com/ || website.com)
{?&gt;

&lt;div&gt;We are in home&lt;/div&gt;

&lt;?php } else { ?&gt;

&lt;div&gt;do something&lt;/div&gt;
&lt;?php } ?&gt;
</code></pre>

<p>Someone help me please thanks</p>
