verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] ); } if(isset($_POST['submit'])) { if ($response != null && $response->success) { $_SESSION['title']=$_POST['title']; $_SESSION['fname']=$_POST['name']; $_SESSION['country']=$_POST['country']; $_SESSION['Email']=$_POST['Email']; $_SESSION['phno']=$_POST['phno']; @$ipaddress=$_SERVER['REMOTE_ADDR']; @$Email=$_POST['Email']; include("inc/config.php"); @$insert_result=mysqli_query($con1,"insert into abstract_submission(user,title,fname,country,email,phno,category,track_name,address,date,ipaddress) values('".$shortname."','".$_SESSION['title']."','".$_SESSION['fname']."','".$_SESSION['country']."','".$_SESSION['Email']."','".$_SESSION['phno']."','".$_POST['category']."','".$_POST['session']."','".$_POST['org']."',now(),'$ipaddress')") or die(mysqli_error()); @$ins_id = mysqli_insert_id($con1); @$uploaddir = "uploads/"; @$pic1name1 = $_FILES['uploadfile']['name']; if($pic1name1 != "") { @$pic1arr1 = explode(".",$pic1name1); @$pic1new1 = @$ins_id."-Abstract.".$pic1arr1[count($pic1arr1)-1]; move_uploaded_file($_FILES['uploadfile']['tmp_name'], $uploaddir.$pic1new1); @$sqlqq="update abstract_submission set attachment='$pic1new1' where id='$ins_id'"; @$resqq=mysqli_query($con1,$sqlqq) or die(mysqli_error()); } chmod("uploads/".@$pic1new1,0777); //----------------------------------- @$fileatt_name = @$pic1new1; // Filename that will be used for the file as the attachment @$fileatt = 'uploads/'.$pic1new1; // Path to the file location in server //move_uploaded_file($_FILES['uploadfile']['tmp_name'], @$fileatt); @$fileatt_type = $_FILES['uploadfile']['type']; //File Type @$file = fopen($fileatt,'rb'); @$data = fread($file,filesize($fileatt)); fclose(@$file); @$semi_rand = md5(time()); @$mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; @$recipientbody ="Title : ".$_POST['title']." ".$_POST['name']."\nCountry : ".$_POST['country']."\nE-mail : ".$_POST['Email']."\nPhone Number : ".$_POST['phno']."\nInterested in : ".$_POST['category']."\nOrganization : ".$_POST['org']."\nSession : ".$_POST['track_name']; //================================================================================================== $recipient =$ConfEmail; //================================================================================================== $to= "$Email"; $rsubject ="Abstract Received from : ".$_POST['title']." ".$_POST['name']; $mailheader1 = "From: ".$Email; $mailheader1 .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $recipientbody = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $recipientbody . "\n\n"; $data = chunk_split(base64_encode($data)); $recipientbody .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fileatt_name}\"\n" . //"Content-Disposition: attachment;\n" . //" filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . @$data . "\n\n" . "--{$mime_boundary}--\n"; @$mailheader2 = "From: Scientia Meetings < $recipient >\n"; @$mailheader2 .= "Reply-To: Scientia Meetings < $recipient >\n"; @$mailheader2 .= "Content-type: text/html; charset=iso-8859-1\r\n"; //==================================== $mail=mail($recipient, $rsubject, $recipientbody,$mailheader1) or die("Failure!"); if($mail) { @$msg="Thank you for your interest in submitting Abstract to $shortname. We will get back to you soon..."; $_SESSION['title']=""; $_SESSION['fname']=""; $_SESSION['lname']=""; $_SESSION['country']=""; $_SESSION['Email']=""; $_SESSION['phno']=""; $_SESSION['category']=""; $_SESSION['track_name']=""; $_SESSION['address']=""; session_destroy(); } } else { $msg='You have not verified the captcha, please resubmit the form after verifying it.'; } } include 'header.php'; ?> Abstract Submission Home Abstract Submission Title : Select Mr. Ms. Mrs. Prof. Dr Assoc. Prof. Dr Assist. Prof. Dr Dr. PhD candidate Master Degrees Bachelor Degrees Name : Email : Phone : Organization : City : Country : Select country United States United Kingdom Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Canadian Nunavut Territory Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling Islands) Colombia Comoros Congo Cook Islands Costa Rica Cote D'Ivoire (Ivory Coast) Croatia (Hrvatska) Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic East Timor Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France France, Metropolitan French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guinea Guinea-Bissau Guyana Haiti Heard and McDonald Islands Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Jamaica Japan Jordan Kazakhstan Kenya Kiribati Korea (North) Korea (South) Kuwait Kyrgyzstan Laos Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macau Macedonia Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia Moldova Monaco Mongolia Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Qatar Reunion Romania Russian Federation Rwanda S. Georgia and S. Sandwich Isls. Saint Kitts and Nevis Saint Lucia Saint Vincent and The Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Seychelles Sierra Leone Singapore Slovak Republic Slovenia Solomon Islands Somalia South Africa Spain Sri Lanka St. Helena St. Pierre and Miquelon Sudan Suriname Svalbard and Jan Mayen Islands Swaziland Sweden Switzerland Syria Taiwan Tajikistan Tanzania Thailand Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu US Minor Outlying Islands Uganda Ukraine United Arab Emirates United Kingdom United States Uruguay Uzbekistan Vanuatu Vatican City State (Holy See) Venezuela Viet Nam Virgin Islands (British) Wallis and Futuna Islands Western Sahara Yemen Yugoslavia Zaire Zambia Zimbabwe Interested in Oral/Poster : Keynote Presentation Oral Presentation Poster Presentation Conducting Workshop Conducting Symposium Others Topic : Select Chemistry and Biochemistry of Food Analytical Chemistry of Foods Bioactive constituents, Micronutrients, Food Additives and Ingredients Food Structure, Flavor and Food Quality Food Authentication and Traceability Phenolic Compounds and Antioxidants Functional Foods and Nutraceuticals Health Effects of Food Constituents-Gut Microbiota Interactions Bioavailability and Bioaccessibility of Food and Nutrients Food and Drug Analysis Food Processing and Packaging Technologies Food Microbiology and Food Safety Data Analysis in Food Science Nutrition and Nutritional Biochemistry Dietary and Nutritional Supplements Food and Chemical Engineering Food and Dairy Technology Food and Agriculture Biotechnology Nanotechnology in Food Trends in Food, Nutraceutical and Beverage Industry Future Food Technology and Agro-Food Business Others Attachment :