groups

name language licence
Contact Form 2 PHP Other
FTG-1-FormBody HTML Other
Horizontal Menu 1 CSS Other
imageMenu Header JS JavaScript Other
Growing1 HTML Other
Glider CSS CSS Other
Horizontal Menu 2 HTML Other
Bookmarks_post JavaScript Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 >



language: PHP
licence: Other

Contact Form 2

options: view full snippetsend to code collector
<?
 /****** BITTE ANPASSEN *******/
 $admin_mail = "mymail@domain.com";
 $domain = domain
 /*****************************/
 
 if(@($_POST['sent']) AND isset($_POST['sent'])) {
  
  $name = $_POST['name'];
  $mail = $_POST['mail'];
  $text = $_POST['text'];
  
  foreach($_POST as $key=>$value) $_POST[$key]=trim(strip_tags(stripslashes($value))); // Leerzeichen und HTML löschen
  
  /*$name = htmlentities($name, ENT_QUOTED);
	
(Continues...)