projects
/
infodrom.org
/
www.zeitungsliste.de
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b6e356
)
Miscellaneous functions
author
Joey Schulze
<joey@infodrom.org>
Fri, 8 Aug 2008 13:51:10 +0000
(13:51 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 8 Aug 2008 13:51:10 +0000
(13:51 +0000)
lib/misc.inc
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/misc.inc
b/lib/misc.inc
new file mode 100644
(file)
index 0000000..
55cf877
--- /dev/null
+++ b/
lib/misc.inc
@@ -0,0
+1,15
@@
+<?
+
+function ajax_check_email()
+{
+ global $POST;
+
+ include_once('extern/rfc822.php');
+
+ if (!empty($_POST['email']) && is_valid_email_address($_POST['email']))
+ return true;
+
+ return false;
+}
+
+?>
\ No newline at end of file