Update script
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 10 Oct 2016 13:12:18 +0000 (09:12 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 10 Oct 2016 13:12:18 +0000 (09:12 -0400)
for newer version of php

admin/feedback/setup_feedback.inc

index 2e29426..6864572 100755 (executable)
@@ -1,4 +1,5 @@
-<?
+<?php
+extract($_REQUEST);
 ###############################################################################
 ## Gaslight Media PHP Events Calendar v1.5                                   ##
 ## (c) 1998 Gaslight Media Inc.                                              ##
@@ -55,13 +56,13 @@ define("DB_ERROR_MSG", "<h1>A Database Error Has Occured</h1>");
  $LINK     = "#000080";   // Link Color
  $ALINK    = "#000080";   // Active Link Color
  $VLINK    = "#000080";   // Visited Link Color
-  
+
  function email_format($raw_string)
    {
      $raw_string = strtolower($raw_string);
+
      $ereg_result = ereg('[a-z0-9_.]+@[-a-z0-9_]+\.[-a-z0-9_.]+',$raw_string);
+
      if($ereg_result != '')
        {return(1);}
      else