title: Check query string (PHP)
body: <p>I use a query string, for example <code>test.php?var=1</code>.</p>
  
  <p>How can I check if a user types anything after that, like another string...</p>
  
  <p>I try to redirect to index.php if any other string (query string) follows my <code>var</code> query string.</p>
  
  <p>Is it possible to check this?</p>
  
  <p>For example:</p>
  
  <pre>
  test.php?var=12134  (This is a good link..)
  test.php?a=23&amp;var=123 (this is a bad link, redirect to index..)
  test.php?var=123132&amp;a=23 (this is a bad link, redirect to index..)
  </pre>