Jump to content

sandesh.acharya

Members
  • Content Count

    59
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sandesh.acharya

  • Rank
    Newbie

Contact Methods

  • MSN
    mysandesh@msn.com
  • Website URL
    http://
  • ICQ
    0

Previous Fields

  • First Name:
    Sandesh
  • Surname:
    Acharya
  • High School:
    TSS
  • Village/Town:
    Kohalpur
  • District:
    Banke
  • Current University/College:
    TU
  • Subject:
    CS
  • Town/City:
    Kathmandu
  • Gender:
    Male
  1. Lalupate: Kitne Aadmi they? Sirupate: Sardar Do. LP: Mujhe geenti nahi aati. Do kitne hotey hain? SP: Sardar Do Ek ke baad aata hai. LP: Aur Do ke pehle? SP: Do ke pehle Ek aata hai. LP: To beech mein kaun aata hai? SP: Beech mein koi nahi aata. LP: To fir Dono ek saath kyon nahi atey? SP: Do Ek ke baad hi aa sakta hai, kyonki Do ek se bada hai. LP: Do ek se bada hai? Kitna bada hai? SP: Do ek se Ek bada hai? LP: Agar Do ek se ek bada hai to ek ek se kitna bada hai? SP: Sardar, Maine tumhara namak khaya hai, mujhe goli mar do.
  2. i have a website with simple contact form that asks 1. Name 2. E-mail 3. Tel 4. Subject 5. Comments the simple form is in .htm format and uses .php file for data submission. now, problem is that someone stupid submits the contact form without any text (so i receive hundreds of blank e-mals everyday). can you please suggest some script that prevents blank field from being submitted? i searched around the net too but couldn't get exact solution. for your info i have copied scripts of 'submit.htm' file and 'sendmail.php' files CODE FROM MY submit.htm FILE that has contact form CODE FROM MY submit.php FILE that receives data from submit.htm file and processes e-mail <?php ///////////////////////////////////////////////////////////// if (!empty($_POST)){ $redirect = "thanks.htm"; $subject = $_POST['Subj']; $to = "my@emailaddress.com"; $from = $_POST['UserEmail']; $message = "Information submitted on " . date( "l, F d, Y") . "\n ------------------------------------------------\n Name: {$_POST['Name']}\n E-mail: {$_POST['UserEmail']}\n Tel: {$_POST['Tel']}\n Subject: {$_POST['Subj']}\n Comments:\n\n{$_POST['Comments']}\n\n"; mailIt($to, $from, "", "", $subject, $message); echo " message received - thank you"; if ($redirect != "thanks.htm") header("Location: {$redirect}"); } //////////////////////////////////////////////////////////// // The actual mail function. function mailIt($to, $from, $cc, $bcc, $subject, $message){ if (!is_array($to)){ $to = "{$to}"; } else{ foreach($to as $to_nick=>$to_mail){ $to_arr[] = "{$to_mail}"; } $to = implode(', ', $to_arr); } if (!is_array($from)){ $from = "{$from}"; } else{ $from = key($from[0]); } /* To send HTML mail, you can set the Content-type header. */ //$headers = "MIME-Version: 1.0\r\n"; //$headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* additional headers */ $headers .= "To: {$to}\r\n"; $headers .= "From: {$from}\r\n"; if ($cc != "") $headers .= "Cc: {$cc}\r\n"; if ($bcc !="") $headers .= "Bcc: {$bcc}\r\n"; /* and now mail it */ echo mail($to, $subject, $message, $headers); } ?>
  3. i have a website with simple contact form that asks 1. Name 2. E-mail 3. Tel 4. Subject 5. Comments the simple form is in .htm format and uses .php file for data submission. now, problem is that someone stupid submits the contact form without any text (so i receive hundreds of blank e-mals everyday). can you please suggest some script that prevents blank field from being submitted? i searched around the net too but couldn't get exact solution. for your info i have copied scripts of 'submit.htm' file and 'sendmail.php' files CODE FROM MY submit.htm FILE that has contact form CODE FROM MY submit.php FILE that receives data from submit.htm file and processes e-mail <?php ///////////////////////////////////////////////////////////// if (!empty($_POST)){ $redirect = "thanks.htm"; $subject = $_POST['Subj']; $to = "my@emailaddress.com"; $from = $_POST['UserEmail']; $message = "Information submitted on " . date( "l, F d, Y") . "\n ------------------------------------------------\n Name: {$_POST['Name']}\n E-mail: {$_POST['UserEmail']}\n Tel: {$_POST['Tel']}\n Subject: {$_POST['Subj']}\n Comments:\n\n{$_POST['Comments']}\n\n"; mailIt($to, $from, "", "", $subject, $message); echo " message received - thank you"; if ($redirect != "thanks.htm") header("Location: {$redirect}"); } //////////////////////////////////////////////////////////// // The actual mail function. function mailIt($to, $from, $cc, $bcc, $subject, $message){ if (!is_array($to)){ $to = "{$to}"; } else{ foreach($to as $to_nick=>$to_mail){ $to_arr[] = "{$to_mail}"; } $to = implode(', ', $to_arr); } if (!is_array($from)){ $from = "{$from}"; } else{ $from = key($from[0]); } /* To send HTML mail, you can set the Content-type header. */ //$headers = "MIME-Version: 1.0\r\n"; //$headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* additional headers */ $headers .= "To: {$to}\r\n"; $headers .= "From: {$from}\r\n"; if ($cc != "") $headers .= "Cc: {$cc}\r\n"; if ($bcc !="") $headers .= "Bcc: {$bcc}\r\n"; /* and now mail it */ echo mail($to, $subject, $message, $headers); } ?>
  4. sorry, no ideas about other web sites. but did you have problem with downloading, or playing that in LINUX?
  5. A Chienese speaking to a Chinese Operator - Caller: Hello, can I speak to Annie Wan? Operator: Yes, you can speak to me C: No, I want to speak to Annie Wan! O: You are talking to someone! Who is this? C: I'm Sum Wan... And I need to talk to Annie Wan! It's urgent O: I know you are someone and you want to talk to anyone! But what's this urgent matter about? C: Well just tell my sister Annie Wan that our brother, Noe Wan was involved in an accident. Noe Wan got injured and now Noe Wan is being sent to the hospital. Right now, AveryWan is on his way to the hospital. O: Look if no one was injured and no one was sent to the hospital from the accident that isn't an urgent matter! You may find this hillarious but I don't have time for this! C: You are so rude! Who are you? O: I'm Saw Lee. C: Yes! You should be sorry. Now give me your name.
  6. hi friends, i know we have talked much about downloading free songs. but most of the sites suck by imposing several restrictions like registration, trail software, or creit cards (even when they say free)... but i've one - http://www.apniisp.com/songs/ you can download latest hindi and pakistani songs - absolutely free, within clicks... i know some web sites like http://www.terrificmusic.com where we can listen the songs online. but wanted to ask which web site do you use for free downloading (english songs)? plz suggest those... cheers, sandesh
  7. and, the topic about this already exists http://chautari.wnso.org/forums/index.php?showtopic=9268 thank you ujjwal brother, i never really knew that news (live Messenger going public) ... anyway i guess windows live mail isn't public yet (though Microsoft is sending invitations little faster when asked) ...
  8. hi friends, i have some invitations left for windows live mail / and windows live messenger (not that fan of Microsoft, but something better to try) just in case... cheers, sandesh
  9. the worst site ever i have seen.. its not the novel site.. neitehr its a movie site.. its only site of porn.. you can call it porn site... THe administrator sucks..... wish he could upload some good stuff.. if possible not those porn.. yes, bimal is right... the site is terrible. don't waste your time...
  10. sorry for replying late... yes, i tried that but couldn't get downloadable... i found that on my friend's collection later... thanks
  11. dear friends, can anyone please e-mail me (nepsnds@gmail.com) the mp3 of 'mathi mathi sailungema' by kunti moktan? friends in japan want to show nepali cultural dance and they don't have this one... cheers, sandesh
  12. dear fren, i thought you might like some of these... may not be exactly like what you're looking for, but i personally feel good listening to these songs. if you need i can e-mail you lyrics and mp3... Eternal Flame - MLTR Tell It to your Heart - MLTR Love Will Never Lie - MLTR I have a dream - Westlife Close Your Eyes - Westlife Flying Without Wings - Westlife all the best... sandesh
  13. scorpio bro, i have one if you have't got one yet.. pm me
  14. okay saathi haru... mine is mysandesh@msn.com .....
  15. if it's not too late and any of you have invitation left.... plz send to me as well... poor me !
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.