// Mark Huang <mlhuang@cs.princeton.edu>
// Copyright (C) 2006 The Trustees of Princeton University
//
-// $Id: feedback.php 144 2007-03-28 07:52:20Z thierry $
+// $Id$
//
// Get API handle
require_once 'plc_session.php';
global $adm;
-// Get sorting functions
-require_once 'plc_sorts.php';
-
// Print header
require_once 'plc_drupal.php';
drupal_set_title('Slice Feedback');
// checks proper syntax
$email = $_REQUEST['email'];
if (preg_match("/^[a-zA-Z0-9_\.-]+@[a-zA-Z0-9\.-]+$/", $email)) {
- list($username, $domain) = split('@', $email);
+ list($username, $domain) = explode('@', $email);
// prevent default domain from being appended
$domain .= ".";
// check if the domain has MX records, or is at least resolvable