ΑΠΟΣΤΟΛΗ ΣΤΟΙΧΕΙΩΝ ΓΙΑ ΕΠΙΚΟΙΝΩΝΙΑ ΜΕ ΑΛΛΟΥΣ ΓΟΝΕΙΣ.

"; //+turn 1236 ΤΟΛΙΑΣ metaf = 0 if (databaseOK) { $user="theo2"; $password="A1lesia#@"; $database="gag"; mysql_connect("db11.papaki.gr",$user,$password) or die( 'Could not connect to DB: ' . mysql_error() ); mysql_select_db($database) or die( "Unable to select database"); } $maplink = "http://www.gymnasioanavrytagoneis.gr/jasuWyEf98wPRy48ysfdiaify8weHV1e2yf8ysa8yd6tFaydU9fyas8r78IP7Ex2/" ; //functions function writeMsg($var01="--") { if (testpr) echo "Hello world! $var01
"; } function mkhashvalue ($var01=16) { //make the hashvalue $bytes = openssl_random_pseudo_bytes($var01, $cstrong); $hex = bin2hex($bytes); return $hex; } function mysendmail ($toemail, $var01="") { if (testpr) echo "
---
entering mysendmail
toemail=$toemail
"; // send e-mail to ... $email=testing ? "theotolias@gmail.com" : $toemail; $to=$email; // Your subject $subject="" ; $subject.="message from EMAIL: gymnasioanavrytagoneis@GMAIL.COM, SITE: http://www.gymnasioanavrytagoneis.gr"; // From //charset="windows-1256" //charset=iso-8859-1 //charset=UTF-8 //iso-8859-7 $header = "From: Σύλλογος γονέων και κηδεμόνων Γυμνασίου Αναβρύτων \r\n"; //."MIME-Version: 1.0" . "\r\n" . //"Content-type: text/html; charset=UTF-8" . "\r\n"; //$header.="from: theodoros tolias \r\n"; //$header.="Cc:gymnasioanavrytagoneis@gmail.com"; // Your message $message="$var01\r\n"; $message = wordwrap($message, 70, "\r\n"); if (testpr) echo "
testing email
to=$to
(actually to:$toemail)
subject=$subject
message=$message
header=$header
"; // send email if (!testing) $sentmail = mail($to,$subject,$message,$header); //$sentmail = mail("theotolias@gmail.com",$subject,$message,$header); //ΠΑΝΤΑ ΝΑ ΞΕΡΩ ΤΙ ΓΙΝΕΤΑΙ.. if (testpr) echo "
mail to $to was sent ? $sentmail

"; //send mail end } function testsendmail_01 ($toemail="theotolias@yahoo.com", $var01="") { echo "
---
entering mysendmail
toemail=$toemail
"; // send e-mail to ... $email=testing ? "theotolias@gmail.com" : $toemail; $to=$email; // Your subject $subject="" ; $subject.="message from EMAIL: gymnasioanavrytagoneis@GMAIL.COM, SITE: http://www.gymnasioanavrytagoneis.gr"; // From //charset="windows-1256" //charset=iso-8859-1 //charset=UTF-8 //iso-8859-7 $header = "From: Σύλλογος γονέων και κηδεμόνων Γυμνασίου Αναβρύτων \r\n"; //."MIME-Version: 1.0" . "\r\n" . //"Content-type: text/html; charset=UTF-8" . "\r\n"; //$header.="from: theodoros tolias \r\n"; //$header.="Cc:gymnasioanavrytagoneis@gmail.com"; // Your message $message="$var01\r\n"; $message="this is testsendmail_01\r\n"; $message = wordwrap($message, 70, "\r\n"); if (testpr) echo "
testing email
to=$to
(actually to:$toemail)
subject=$subject
message=$message
header=$header
"; // send email if (!testing) $sentmail = mail($to,$subject,$message,$header); //$sentmail = mail("theotolias@gmail.com",$subject,$message,$header); //ΠΑΝΤΑ ΝΑ ΞΕΡΩ ΤΙ ΓΙΝΕΤΑΙ.. if (testpr) echo "
mail to $to was sent ? $sentmail

"; //send mail end } function testsendmail() { // The message $message = "Line 1\r\nLine 2\r\nLine 3"; // In case any of our lines are larger than 70 characters, we should use wordwrap() $message = wordwrap($message, 70, "\r\n"); echo "testsendmail
"; // Send $sentmail= mail("theotolias@gmail.com", "My Subject", $message); echo "success ? $sentmail"; } function forcesendmail ($toemail, $var01="") { echo "
---
entering forcesendmail
toemail=$toemail
"; // send e-mail to ... $to=$toemail; // Your subject $subject="" ; $subject.="message from EMAIL: gymnasioanavrytagoneis@GMAIL.COM, SITE: http://www.gymnasioanavrytagoneis.gr"; $header = "From: gymnasioanavrytagoneis@gmail.com\r\n"; //$header.="Cc:gymnasioanavrytagoneis@gmail.com"; // Your message $message="$var01\r\n"; $message = wordwrap($message, 70, "\r\n"); echo "
to=$to
subject=$subject
message=$message
header=$header
"; // send email $sentmail = mail($to,$subject,$message,$header); echo "
mail to $to was sent ? $sentmail

"; } function mkmessage01 ($id4d01, $id4d02, $eponpat02, $onomapat02, $thlstath02, $thlkin02) { $message="THEMA:SXOLIKH METAFORA MATHITWN\r\n"; $message.="Eiste o xrhsths me id $id4d01\r\n"; $message.="--------------------------------------------------- \r\n"; $message.="ZHTHSATE H APODEXTHHKATE NA LABETE MESW TOY SITE MAS STOIXEIA GIA ALLOYS GONEIS ME SKOPO TH SXOLIKH METAFORA\r\n"; $message.="TA STOIXEIA TOY ALLOY GONEA EINAI: (ID) $id4d02 \r\n"; $message.="ONOMATEPWNYMO GONEA : \r\n$onomapat02 $eponpat02 \r\n"; $message.="STATHERO THELEFWNO GONEA : $thlstath02 \r\n"; $message.="KINHTO THLEFWNO GONEA : $thlkin02 \r\n"; $message.="\r\n\r\nSe periptwsh problhmatos enhmerwste mas me email sto \r\ngymnasioanavrytagoneis@gmail.com \r\n"; $message.="h kaleste mas sto kinhto 6951-955041 \r\nARBANITAKHS NIKOS \r\n(Proedros toy DS toy Syllogoy Gonewn kai Khdemonwn Gymnasioy) \r\n"; $message.="\r\n\r\nMe ektimhsh apo to DS toy Syllogoy Gonewn kai Khdemonwn Gymnasioy \r\nTHEODWROS TOLIAS\r\ntheotolias@gmail.com\r\n"; return $message; } function greeklish($string){ $patterns = array("/Α/","/Β/","/Γ/","/Δ/","/Ε/","/Ζ/","/Η/","/Θ/","/Ι/","/Κ/","/Λ/","/Μ/","/Ν/","/Ξ/","/Ο/","/Π/","/Ρ/","/Σ/","/Τ/","/Υ/","/Φ/","/Χ/","/Ψ/","/Ω/"); $replacements = array("A","B","G","D","E","Z","H","TH","I","K","L","M","N","KS","O", "P","R","S","T","Y","F","X","PS","W"); $patterns= array_merge($patterns,array("/α/","/β/","/γ/","/δ/","/ε/","/ζ/","/η/","/θ/","/ι/","/κ/","/λ/","/μ/","/ν/","/ξ/","/ο/","/π/","/ρ/","/σ/","/τ/","/υ/","/φ/","/χ/","/ψ/","/ω/", "/ς/")); $replacements =array_merge($replacements,array("a","b","g","d","e","z","h","th","i","k","l","m","n","ks","o","p","r","s","t","y","f","x","ps","w","s")); $patterns= array_merge($patterns,array("/ά/","/έ/","/ή/","/ί/","/ό/","/ύ/","/ώ/")); $replacements =array_merge($replacements,array("a","e","h","i","o","y","w")); return preg_replace($patterns, $replacements, $string); } ?>
testing
testing
testing
Pass 01
ΠΑΡΑΚΑΛΟΥΜΕ ΕΛΑΤΕ ΣΕ ΕΠΙΚΟΙΝΩΝΙΑ ΜΕ ΤΟ ΣΥΛΛΟΓΟ ΓΙΑ ΠΕΡΙΣΣΟΤΕΡΕΣ ΠΛΗΡΟΦΟΡΙΕΣ