$v) if(preg_match($reg,$v)) return false; return true; } $num1 = rand (1 , 5); $num2 = rand (1 , 5); setcookie('testquestion',$num1+$num2); $nums = array('','׳׳—׳×','׳©׳×׳™׳','׳©׳œ׳©','׳׳¨׳‘׳¢','׳—׳ž׳©'); if ($_POST['posted']) { if ($_POST['testquestion'] != $_COOKIE['testquestion']) $errors .= '׳ ׳ ׳œ׳”׳§׳œ׳™׳“ ׳”׳×׳©׳•׳‘׳”\n׳”׳ ׳›׳•׳ ׳” ׳œ׳©׳׳œ׳× ׳”׳—׳©׳‘׳•׳Ÿ.\n'; if ($_POST['User_email'] != "") { $email = filter_var($_POST['User_email'], FILTER_SANITIZE_EMAIL); if (!filter_var($email, FILTER_VALIDATE_EMAIL) || $email!=$_POST['User_email']) { $errors .= 'The e-mail address '.$_POST['User_email'].'is an invalid address.\n'; } } else { $errors .= '׳ ׳ ׳œ׳”׳›׳ ׳™׳¡ ׳“׳•׳׳¨\n׳׳§׳˜׳¨׳•׳ ׳™.\n'; } if (!$_POST['User_name']) $errors .= '׳©׳ ׳”׳©׳•׳׳œ\n'; if (!$_POST['Subject']) $errors .= '׳ ׳•׳©׳\n'; if (!$_POST['Question']) $errors .= '׳”׳§׳œ׳“ ׳©׳׳œ׳”\n'; if (!$errors) { // $context = stream_context_create(array( // 'http' => array( // 'method' => 'POST', // 'header' => "Content-type: application/x-www-form-urlencoded\r\n", // 'content' => http_build_query(array('value' => $value)), // 'timeout' => 90, // ), // )); // $ret = file_get_contents('http://www.dafyomi.co.il/cgi-bin/askollel-secure_oa8sdfuink9iuhj.cgi', false, $context); foreach(array('User_name','User_email','Place','Maseches','Daf','Subject','Language','Question','Answlang') as $key) $$key = strip_tags($_POST[$key]); $Daf = str_pad($Daf, 3, "0", STR_PAD_LEFT); $vulnerables = array($User_name,$User_email); if(!is_secure($vulnerables)) die("Hacker?"); $ret .= "\n"; $ret .= "\n"; $ret .= "\n"; $ret .= "
\n"; $ret .= ":׳¡׳™׳›׳•׳ ׳©׳׳œ׳×׳š
\n"; $ret .= ":׳”׳©׳ $User_name
\n"; $ret .= ":׳›׳×׳•׳‘׳× ׳׳™-׳ž׳™׳™׳œ $User_email
\n"; $ret .= ":׳ž׳׳× $Place

\n"; $ret .= ":׳ž׳¡׳›׳× $Maseches $Daf
\n"; $ret .= ":׳ ׳•׳©׳ $Subject

\n"; $ret .= ":׳©׳׳œ׳”
$Question\n"; $ret .= "

׳‘׳©׳₪׳”: $Language

\n"; $ret .= "

׳×׳§׳‘׳œ ׳×׳©׳•׳‘׳” ׳‘׳©׳₪׳×: $Answlang


\n"; $ret .= "

\n"; $ret .= "

׳©׳׳œ ׳©׳׳œ׳” ׳׳—׳¨׳×


\n"; $ret .= "

׳—׳–׳•׳¨ ׳œ׳“׳£ ׳”׳‘׳™׳× (www.dafyomi.co.il)


\n"; $ret .= "\n"; $ret .= ""; $message .= "(Please include header and footer when redistributing this material.)\n"; $message .= "_________________________________________________________________\n\n"; $message .= " THE DAFYOMI DISCUSSION LIST\n\n"; $message .= " brought to you by Kollel Iyun Hadaf of Yerushalayim\n"; $message .= " Rosh Kollel: Rabbi Mordecai Kornfeld\n"; $message .= " daf@dafyomi.co.il\n\n"; $message .= " [REPLY TO THIS MESSAGE TO DISCUSS THE DAF WITH THE KOLLEL]\n"; $message .= "________________________________________________________________\n\n"; $message .= "$Maseches $Daf: $Subject\n\n"; $message .= "$User_name <$User_email> asks:".($Language == 'English' ? '' : "(in $Language)")."\n\n"; $message .= "$Question\n\n"; $message .= "$User_name, $Place\n"; $message .= "----------------------------------------------\n"; $message .= "׳”׳›׳•׳œ׳œ ׳¢׳•׳ ׳”:\n"; // $headers = "MIME-Version: 1.0" . "\r\n"; // $headers .= "Content-type:text/html;charset=utf-8" . "\r\n"; $headers .= "Content-type:text/plain; charset=utf-8" . "\r\n"; $headers .= "From: $User_name <$User_email>\r\n"; $mailsuccess = mail($admin_mail, "$Maseches $Daf: $Subject", $message, $headers); } } if ($ret) { if ($mailsuccess) echo $ret; else "Mail was not sent due to error."; } else { ?> ׳˜׳•׳₪׳¡ ׳”׳’׳©׳× ׳©׳׳œ׳•׳× ׳œ׳›׳•׳œ׳œ ׳¢׳™׳•׳Ÿ ׳”׳“׳£
English

Dafyomi Advancement Forum

׳”׳ž׳¨׳›׳– ׳œ׳§׳™׳“׳•׳ ׳œ׳™׳ž׳•׳“ ׳”׳“׳£-׳”׳™׳•׳ž׳™
׳©׳¢׳œ ׳™׳“׳™ ׳›׳•׳œ׳œ ׳¢׳™׳•׳Ÿ ׳”׳“׳£


׳×׳’׳™׳© ׳©׳׳œ׳•׳×׳™׳š ׳œ׳›׳•׳œ׳œ ׳¢׳œ ׳™׳“׳™ ׳”׳˜׳•׳₪׳¡ ׳“׳œ׳”׳œ׳Ÿ


׳©׳ ׳”׳©׳•׳׳œ ' />
׳›׳×׳•׳‘׳× ׳׳™-׳ž׳™׳™׳œ '>
׳¢׳™׳¨, ׳•׳ž׳“׳™׳ ׳”' SIZE=50 NAME="Place">
 


׳”׳©׳׳œ׳” ׳©׳œ׳™ ׳¢׳œ:

׳ž׳¡׳›׳×       ׳“׳£      ׳©׳₪׳× ׳”׳©׳׳œ׳”  
׳”׳ ׳•׳©׳   ' />
׳”׳©׳׳œ׳”  
׳ ׳ ׳œ׳”׳©׳™׳‘ ׳‘:  
׳•׳¢׳•׳“ ׳©׳•׳”:  
  

KIH Logo
׳“׳£ ׳”׳‘׳™׳×

׳”׳§׳“׳©׳•׳× ׳•׳×׳¨׳•׳ž׳•׳×  •  ׳×׳’׳•׳‘׳•׳× ׳ž׳§׳•׳¨׳׳™׳ •  ׳¨׳©׳™׳ž׳•׳× ׳“׳•׳"׳œ
׳—׳•׳ž׳¨ ׳¢׳œ ׳›׳œ ׳”׳×׳œ׳ž׳•׳“ ׳•׳”׳ž׳©׳ ׳”  •  ׳©׳׳œ ׳׳× ׳”׳›׳•׳œ׳œ
׳§׳™׳©׳¨׳•׳™׳ ׳œ׳œ׳•׳ž׳“׳™ ׳”׳×׳œ׳ž׳•׳“  •  ׳œ׳•׳— ׳”׳“׳£ ׳”׳™׳•׳ž׳™
׳œ׳•׳—׳•׳× ׳œ׳©׳׳¨ ׳œ׳™׳ž׳•׳“׳™׳ ׳™׳•׳ž׳™׳™׳