title: Strpos not working
body: <p>I need to see if the <strong>URL</strong> the user is currently on closely matches (So contains) the URL in the database. However strpos doesn't seem to be doing the job correctly. </p>
  
  <p>This is the code i'm using</p>
  
  <pre><code>if(strpos($row['url'], $currenturl) === 0) {
      echo "YEAH!";
      return true;
  }
  echo "Current URL: ".$currenturl." Permission URL: ".$row['url']." Strpos ".strpos($row['url'], $currenturl)."&lt;br&gt;";
  </code></pre>
  
  <p>And this is the debug output. </p>
  
  <blockquote>
    <p>Current URL: projects/projectview.php?whmcsid=0&amp;id=4 Permission URL: projects/projectview.php?whmcsid=0 Strpos </p>
  </blockquote>
  
  <p>So its not matching. Any ideas?</p>