No need to declare superglobals global
[infodrom.org/www.zeitungsliste.de] / lib / misc.inc
1 <?php
2
3 function ajax_check_email()
4 {
5   include_once('extern/rfc822.php');
6
7   if (!empty($_POST['email']) && is_valid_email_address($_POST['email']))
8     return true;
9
10   return false;
11 }