| name | language | licence |
|---|---|---|
| Contact Form 1 | PHP | Other |
| Email Obfuscation | PHP | Other |
| MultiSort | PHP | Other |
| Show Recent Posts 2 | PHP | Other |
| JavaScript Compressor - PHP | PHP | GPL 2 |
| officeHours OPEN/CLOSE visitor notification | PHP | Other |
| Contact Form 2 | PHP | Other |
| Consolidate RapidWeaver style sheets | PHP | Other |
< 1 2 >
language: PHP
licence: Other
Contact Form 1
options: view full snippet • send to code collector
<?php
// *** Spam Schutz
// ***************************************************************************
session_start();
function check_email($email) // Checkt, ob Emails gültig sind
{
$nonascii = "\x80-\xff"; # Non-ASCII-Chars are not allowed
$nqtext = "[^\\\\$nonascii\015\012\"]";
$qchar = "\\\\[^$nonascii]";
$protocol = '(?:mailto:)';
$normuser = '[a-zA-Z0-9][a-zA-Z0-9_.-]*';



library
css (23)