Notice warnings dealing with PHP
<p>I am making a quiz on a webpage for my media class, however, I am running into trouble. When i submit my quiz, I am receiving notices that say: </p>

<blockquote>
  <p>Notice: Undefined variable: all_my_variables in /var/www/html/horvati2-results.php on line 65 </p>
  
  <p>Notice: Undefined variable: current_timestamp in /var/www/html/horvati2-results.php on line 69 </p>
  
  <p>Notice: Undefined variable: SERVER in /var/www/html/horvati2-results.php on line 70 </p>
</blockquote>

<p>This portion of my PHP looks like this:</p>

<pre><code>    $csv_filehandle = fopen("/var/www/html/data/quiz.csv",'a');
    fputcsv($csv_filehandle,array($summer,$spring,$fall,$winter));
    fclose ($csv_filehandle);

    $visit_id = uniqid('',TRUE);

    $json_filehandle = fopen("/var/www/html/data/$visit_id.json",'w');
    fwrite($json_filehandle,json_encode($all_my_variables));
    fclose($json_filehandle);

    $all_my_variables = array(
        'timestamp' =&gt; $current_timestamp,
        'user_ip' =&gt; $SERVER['REMOTE_ADDR'],
        'summer' =&gt; $summer,
        'spring' =&gt; $spring,
        'fall' =&gt; $fall,
        'winter' =&gt; $winter,
    );


    $current_hour = date_default_timezone_set("America/Chicago");
    $current_timestamp = date(DATE_RFC822);
</code></pre>

<p>I would greatly appreciate some help!</p>
