title: undefined constant problem with xampp
body: <p>i have two problems with xamp</p>
  
  <p>first problem</p>
  
  <p>My code</p>
  
  <pre><code>if($_REQUEST['foo']){
      echo 'bar';
  }
  </code></pre>
  
  <p>error: Notice: Undefined index: foo in C:\xampp\htdocs\test_file.php on line 5</p>
  
  <p>second problem</p>
  
  <p>My code</p>
  
  <pre><code>define( THEME ,'theme/');
  </code></pre>
  
  <p>Error: Notice: Use of undefined constant THEME - assumed 'THEME' </p>
  
  <p>How i can solve this problems ?</p>
  
  <p>problem solved:
  i was think the problem is in xampp because files was working fine on apache but sorry that's was my maistake , thank you all</p>