title: php find characters in url
body: <p>I want to use php to search the current url for <code>com_agora</code> and if it finds it to display something and if it doesn't to display something else</p>
  
  <p>the problem is there can be lots of characters after <code>com_agora</code> in the url</p>
  
  <p>an example would be this  <code>com_agora&amp;task=cat_view&amp;gid=41&amp;Itemid=</code></p>
  
  <p>so how would I tell it find it while not caring what characters come after a?</p>