205){ $relErr = "*Word limit exceeded"; $iserror = 1; } } if (empty($_POST["mot"])) { $motErr = "*Required Field"; $iserror = 1; } else { $mot = convert($_POST["mot"]); $word_count = str_word_count($mot); if ($word_count > 505){ $motErr = "*Word limit exceeded"; $iserror = 1; } } } } if ($refcat == "uninv"){ if (empty($_POST["rel"])) { $relErr = "*Required Field"; $iserror = 1; } else { $rel = convert($_POST["rel"]); $word_count = str_word_count($rel); if ($word_count > 205){ $relErr = "*Word limit exceeded"; $iserror = 1; } } if (empty($_POST["mot"])) { $motErr = "*Required Field"; $iserror = 1; } else { $mot = convert($_POST["mot"]); $word_count = str_word_count($mot); if ($word_count > 505){ $motErr = "*Word limit exceeded"; $iserror = 1; } } } if ($iserror == 0){ $fp = fopen("id.txt","r"); fscanf($fp,"%d",$i); fclose($fp); $id = $i + 1; $fp = fopen("id.txt","w"); fwrite($fp,$id); fclose($fp); $array = array( "MS" => "Masters Student", "PS" => "PhD Student", "PD" => "PostDoc", "JF" => "Junior Faculty", "SF" => "Senior Faculty", "GL" => "Government Labs", "WI" => "Working in Industry" ); $refarray = array( "inv" => "Invited", "ref" => "Referred", "uninv" => "Uninvited" ); $address = $add1; $address .= '-'; $address .= $add2; $address .= '-'; $address .= $city; $address .= '-'; $address .= $country; $address .= '-'; $address .= $pin; $address = str_replace(',',';',$address); $aff = str_replace(',',';',$aff); $url = str_replace(',',';',$url); $dietres = str_replace(',',';',$dietres); $refname = str_replace(',',';',$refname); $rel = str_replace(',',';',$rel); $mot = str_replace(',',';',$mot); $record = $id; $record .= ','; $record .= $fname; $record .= ','; $record .= $lname; $record .= ','; $record .= $aff; $record .= ','; $record .= $array[$curpos]; $record .= ','; $record .= $address; $record .= ','; $record .= $ph; $record .= ','; $record .= $email; $record .= ','; $record .= $url; $record .= ','; $record .= $acc; $record .= ','; $record .= $dietres; $record .= ','; $record .= $refarray[$refcat]; $record .= ','; $record .= $refname; $record .= ','; $record .= $refemail; $record .= ','; $record .= $rel; $record .= ','; $record .= $mot; $val = explode(",",$record); $fp = fopen("registration_record.csv","a"); fputcsv($fp,$val); fclose($fp); //confirmation email $to = $email; $subject = "Successful registration to SATSMT2017 school"; $message = " Dear " . $fname . " " . $lname . ",

You have Successfully registered for SAT SMT School 2017.

Please note your reference no: satsmt" . $id . ". Use the reference no. for all future communications.

Please note that the submission of the form is not the final registration. We will notify you soon about the acceptance.

Since we have limited space, we can not promise automated acceptance. We will evaluate all the applicants and try to accept as many applicants as possible.

Registration of academics is free. The registration fee for the industry/government labs participants is Rs. 10,000, which is for supporting similar events and the money will be donated to IARCS. We will ask for the payment of the fee only after accepting the registration.


Best Wishes
Team SATSMT-2017

"; $headers = "Content-type: text/html; charset=iso-8859-1" . "\r\n" . "From: SATSMT2017 " . "\r\n" . "CC: indian.satsmt.school@gmail.com"; if (mail($to,$subject,$message,$headers)){ $mailsuccess = 1; } else { $mailsuccess = 0; } $refno = "satsmt"; $refno .= $id; $_SESSION['ref'] = $refno; $_SESSION['mailsuccess'] = $mailsuccess; header("Location: reg_success.php"); exit(); } } function convert($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); return $data; } ?>
The Second Indian SAT+SMT School
The Second Indian SAT+SMT School
06-08 December 2017
Mysore, Karnatka
Asia/Kolkata timezone
Please note that the registrations have closed for students, Ph.D.s, PostDocs and Faculty members. The registrations remain open for participants from Government Labs and Industry.
Please fill the following form to register (if you have received an invitation email) or apply (if you have not received an invitation email for the school. All attendees are required to register.

Since we have limited space, we cannot promise automated acceptance to those who are applying without an invitation. All such applications will be evaluated, and we will try to accept as many applicants whose work and interests match the goals of the school.

Registration of academics is free. The registration fee for industry/government lab participants is Rs. 10,000 per person. This amount is intended for supporting this and similar events; the fee will be donated to the Indian Association for Research in Computing Sciences (IARCS), the parent body under whose aegis this school is being conducted. For applicants from industry/government labs, the fee payment is required only after your registration is accepted by the organizers.

Note that: In case you haven't received an invitation email, submission of your application is not the final registration. All such applicants will be notified of the acceptance or otherwise of their application after 22nd October.

Registration Form

">










> >



> > >