Diwali 2010 is on November 5, Friday Home  |  About us  |  Contact / Feedback
Diwali Diwali
Diwali Diwali Diwali Diwali Diwali Diwali
Making Diwali Rangoli, Diwali Rangolis, Rangoli Designs for DiwaliRangolis for Diwali, Diwali Rangoli Designs Deepawali Rangolis, Deepawali Rangoli Designs Diwali
Diwali
Diwali
Diwali
Diwali
Diwali
Diwali

Diwali
Diwali
Diwali
Diwali
Diwali


Diwali
Diwali

Diwali
Diwali

Diwali
Diwali

Diwali
Diwali
Diwali
Diwali
Diwali
Diwali Diwali Diwali
Share |

Diwali Diwali
Diwali
Firework Safety Measures


Diwali > Send Diwali Messages

Send Diwali Messages


Here is a platform for you to openly express your heartfelt Diwali Messages for loved ones. Your Diwali Message along with your name and name of the receiver will be posted on this website dedicated to Diwali. All you need to do is fill up all the compulsory boxes and write the most special Deepawali Message for your beloved, friends and dear ones and click on the Send button. You may also post your message at the address provided below.

(All fields are compulsory)
     * Friend\'s Name is missing' . "\n"; } if ($HTTP_POST_VARS['friends_email'] == '') { $error = 1; $error_message .= '
     * Friend\'s Email-id is missing' . "\n"; } if ($HTTP_POST_VARS['your_name'] == '') { $error = 1; $error_message .= '
     * Your Name is missing' . "\n"; } if ($HTTP_POST_VARS['your_email'] == '') { $error = 1; $error_message .= '
     * Your Email-id is missing' . "\n"; } if ( ($HTTP_POST_VARS['friends_email'] != '') && !(tep_validate_email(trim($HTTP_POST_VARS['friends_email']))) ) { $error = 1; $error_message .= '
     * Friends Email-id is not in proper format' . "\n"; } if ( ($HTTP_POST_VARS['your_email'] != '') && !(tep_validate_email(trim($HTTP_POST_VARS['your_email']))) ) { $error = 1; $error_message .= '
     * Your Email-id is not in proper format' . "\n"; } if ( ($HTTP_POST_VARS['action'] == 'recommend') && ($error != '') ) { echo '
'; show_error_message($error_message); } if ( ($HTTP_POST_VARS['action'] == 'recommend') && ($error == 0) ) { $message = 'Hi ' . $HTTP_POST_VARS['friends_name'] . ',' . "\n\n" . $HTTP_POST_VARS['your_name'].' has sent Diwali Message to you through http://www.diwalifestival.org'."\n\n"; if (trim($HTTP_POST_VARS['personal_message'])) { $message .= 'DIWALI MESSAGE FOR '.$HTTP_POST_VARS['friends_name'].':'."\n"; $message .= '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' . "\n"; $message .= $HTTP_POST_VARS['personal_message'] . "\n"; $message .= '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' . "\n\n"; } $message .= $HTTP_POST_VARS['friends_name'].', Click on the following link to reply '.$HTTP_POST_VARS['your_name']."\n"; $message .= "http://www.diwalifestival.org/send-diwali-messages.html \n\n\n".'HAPPY DIWALI!!'."\n\n"; $message .= 'From,' . "\n" . 'Team' . "\n" .'Society for the Confluence of Festivals in India (SCFI)'."\n"; mail($HTTP_POST_VARS['friends_name'] . ' <' . $HTTP_POST_VARS['friends_email'] . '>', $HTTP_POST_VARS['your_name'].' has sent Diwali Message through diwalifestival.org', $message, "From: " . $HTTP_POST_VARS['your_name'] . ' <' . $HTTP_POST_VARS['your_email'] . '>'); $personal_message = str_replace("\n","
",$HTTP_POST_VARS['personal_message']); tep_db_query("insert into recommend_to_friend (your_name, your_email, friends_name, friends_email, personal_message, customer_id_if_logged_in, products_name, fk_associate_id, send_date) values ('" . $HTTP_POST_VARS['your_name'] . "', '" . $HTTP_POST_VARS['your_email'] . "', '" . $HTTP_POST_VARS['friends_name'] . "', '" . $HTTP_POST_VARS['friends_email'] . "', '" . $personal_message . "', '', 'diwalifestival.org','2', now())"); header("Location: thanks.html\n\n"); ?>
Recipient Name:   Recipient Email:
Your Name:   Your Email:

Messages to Recipient :


ERROR : ' . $error_message . '

'; } function tep_validate_email($email) { $valid_address = true; $mail_pat = '^(.+)@(.+)$'; $valid_chars = "[^] \(\)<>@,;:\.\\\"\[]"; $atom = "$valid_chars+"; $quoted_user='(\"[^\"]*\")'; $word = "($atom|$quoted_user)"; $user_pat = "^$word(\.$word)*$"; $ip_domain_pat='^\[([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\]$'; $domain_pat = "^$atom(\.$atom)*$"; if (eregi($mail_pat, $email, $components)) { $user = $components[1]; $domain = $components[2]; // validate user if (eregi($user_pat, $user)) { // validate domain if (eregi($ip_domain_pat, $domain, $ip_components)) { // this is an IP address for ($i=1;$i<=4;$i++) { if ($ip_components[$i] > 255) { $valid_address = false; break; } } } else { // Domain is symbolic name if (eregi($domain_pat, $domain)) { /* domain name seems valid, but now make sure that it ends in a three-letter word (like com, net, org, gov, edu, int) or a two-letter word, representing country (ca, uk, nl), and that there's a hostname preceding the domain or country. */ $domain_components = explode(".", $domain); // Make sure there's a host name preceding the domain. if (sizeof($domain_components) < 2) $valid_address = false; else { $top_level_domain = strtolower($domain_components[sizeof($domain_components)-1]); if (strlen($top_level_domain) < 2 || strlen($top_level_domain) > 6) $valid_address = false; elseif (strlen($top_level_domain) == 3) { switch ($top_level_domain) { case 'com': case 'net': case 'org': case 'gov': case 'edu': case 'int': break; default: $valid_address = true;// false; Done since there is no limit of Domain Name break; } } } } else { $valid_address = false; } } } else { $valid_address = false; } } else $valid_address = false; if ($valid_address && ENTRY_EMAIL_ADDRESS_CHECK == 1) { if (!checkdnsrr($domain, "MX") && !checkdnsrr($domain, "A")) { $valid_address = false; } } return $valid_address; } ?>

OR send by post at:

Society for the Confluence of Festivals in India

B-30, Kendriya Vihar, Sector: 51
NOIDA, UP-201301, India
Email: scfifestivals@gmail.com



Diwali
Diwali
Diwali Festival In India Diwali Celebration Around the World


Add our expertise to your Google search results

Copyright © Society for the Confluence of Festivals in India (SCFI). All Rights Reserved