In this induction we were introduced to the Founders and coordinators of the club.And what are the future plans of the codex to shape the coding skills in ITER. - Read More
-diff --git a/contact-us.php b/contact-us.php
index 4084815f..2497c9f5 100644
--- a/contact-us.php
+++ b/contact-us.php
@@ -9,7 +9,7 @@
//Load Composer's autoloader
require 'vendor/autoload.php';
-$email_id = $_POST['email'] ;
+$email_id = $_POST['contactEmail'] ;
$mail = new PHPMailer(true); // Passing `true` enables exceptions
try {
@@ -19,7 +19,7 @@
$mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'codex.2.0.contact@gmail.com'; // SMTP username
- $mail->Password = 'password'; // SMTP password [Password Changed and removed from GitHub for sequrity]
+ $mail->Password = ''; // SMTP password [Password Changed and removed from GitHub for sequrity]
//$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
$mail->Port = 25; // TCP port to connect to
@@ -47,4 +47,4 @@
echo 'Message could not be sent. Mailer Error: ', $mail->ErrorInfo;
}
-
+?>
diff --git a/css/base.css b/css/base.css
index 770b53a5..f102aa70 100644
--- a/css/base.css
+++ b/css/base.css
@@ -524,7 +524,11 @@ textarea:focus {
background-color: #3d4145;
}
-textarea { min-height: 180px; }
+textarea {
+ min-height: 180px;
+ white-space: pre-wrap;
+
+}
label,
legend {
diff --git a/inc/sendEmail.php b/inc/sendEmail.php
index 9285801b..13949230 100644
--- a/inc/sendEmail.php
+++ b/inc/sendEmail.php
@@ -1,8 +1,10 @@
";
+ $message = "Email from: " . $name . "
";
$message .= "Email address: " . $email . "
";
$message .= "Message:
";
$message .= $contact_message;
@@ -44,13 +46,58 @@
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
- if (!$error) {
+ if (empty($error)) {
ini_set("sendmail_from", $siteOwnersEmail); // for windows server
- $mail = mail($siteOwnersEmail, $subject, $message, $headers);
-
- if ($mail) { echo "OK"; }
- else { echo "Something went wrong. Please try again."; }
+ //$mail = mail($siteOwnersEmail, $subject, $message, $headers);
+
+ // Import PHPMailer classes into the global namespace
+ // These must be at the top of your script, not inside a function
+
+
+
+
+ //Load Composer's autoloader
+ require '..\vendor\autoload.php';
+
+ //$email_id = $_POST['contactEmail'] ;
+
+ $mail = new PHPMailer(true); // Passing `true` enables exceptions
+ try {
+ //Server settings
+ //$mail->SMTPDebug = 2; // Enable verbose debug output
+ $mail->isSMTP(); // Set mailer to use SMTP
+ $mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
+ $mail->SMTPAuth = true; // Enable SMTP authentication
+ $mail->Username = 'codex.2.0.contact@gmail.com'; // SMTP username
+ $mail->Password = ''; // SMTP password [Password Changed and removed from GitHub for sequrity]
+ //$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
+ $mail->Port = 25; // TCP port to connect to
+
+ //Recipients
+ $mail->setFrom('codex.2.0.contact@gmail.com', 'CODEX_ITER');
+ $mail->addAddress($email, $name); // Add a recipient
+ $mail->addAddress('codex.2.0.contact@gmail.com'); // Name is optional
+ //$mail->addReplyTo('info@example.com', 'Information');
+ //$mail->addCC('cc@example.com');
+ //$mail->addBCC('bcc@example.com');
+
+ //Attachments
+ //$mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments
+ //$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name
+
+ //Content
+ $mail->isHTML(true); // Set email format to HTML
+ $mail->Subject = $subject;
+ $mail->Body = $message;
+ $mail->AltBody = 'Thanks a ton for sending us a message. We were quite lonely here :D .';
+
+ $mail->send();
+ echo 'Message has been sent';
+ } catch (Exception $e) {
+ echo 'Message could not be sent. Mailer Error: ', $mail->ErrorInfo;
+ }
+
} # end if - no validation error
@@ -66,4 +113,6 @@
}
+
+
?>
\ No newline at end of file
diff --git a/index.html b/index.html
deleted file mode 100644
index c7b57628..00000000
--- a/index.html
+++ /dev/null
@@ -1,1067 +0,0 @@
-
-
-
Our list of awesome projects we will be doing in future.
-This is the official project list of Codex club of INSTITUTE OF TECHNICAL EDUCATION AND RESEARCH. - All rights are reserved by codex founders and Co-founders of theclub. -
Description: Cryptography is technique of disguising the data or making data unintelligent to the intruder or hacker. Steganography is a technique of hiding data into a cover medium. At the initial stage, encryption of original data should take place using some cryptographic algorithm. Subsequently the encrypted message is hidden into some cover medium such as image using Steganography. After transmission of the image, reverse Steganography and decryption should be performed on the receiver end..
-Description: Create a Tcl script that converts Modelsim.do files into .do files which GTKwave can understand. Thus you will need to create a Tcl script, which takes in as input a Modelsim .do file and output a Tcl script which GTKwave will read. It is basically a script which maps/modifies Modelsim commands into GTKwave commands.
-Description: Compile and assemble a GNU/Linux Operating System from source code. - -Prerequisites: None. You will learn about GNU build systems in the process. Knowledge of Bash will help. - -Difficulty: Easy (1/5) - -Additional Information: See linuxfromscratch.org
-Description: Create a simple DBMS from scratch that can create tables, and insert update and delete values. - -Prerequisites: General coding - -Preferred Language: Java/C++/Python/Or any language of your choice
Description: Implement a application that formulates a query from user data, sends it to a relational DBMS and returns the result. - -Prerequisites: Java/C++/Python/Or any language of your choice - -Difficulty: Average
-Description: Create a web crawler that crawls on a particular website(say,www.nlm.nih.gov/medlineplus/en cyclopedia.html), ranks it and searches it for user provided inputs. - -Prerequisites: Regular Expressions. - -Preferred Language: Any scripting language of your choice (preferably Python/PERL).
-Description: similar as above but it returns the summary of user queries and is to be implemented in command line.Skill or prerequisite knowledge: General coding Preferred Language: preferably Python/Perl or any scripting language of your choice. Also requires a Natural language Processing library like NLTK in Python.
-Description: Use a openly available real-time dataset like Sensex and plot it. -[Clarification needed here: The dataset is real-time, but not the plotting. Plotting real-time is much more complex and will require access to data spouts. This can be an interesting project as well]. -Skills or prerequisite knowledge: General coding -Preferred Language: Python/R/Matlab.
-Description: removing noise, implementing software filters, etc (needs specification) - -Skills or prerequisite knowledge: General coding - -Preferred Language: preferably Python/Matlab/OpenCV. Bit difficult with other languages but can be done.
-Description: Add noise to an audio file and remove it through application of different filters.Skills or prerequisite knowledge: General coding.Preferred Language: preferably Python/Matlab.Bit difficult with other languages but can be done. -
-Description: Implementing AES, MD5, and SHA1 functions.Skills or prerequisite knowledge: General coding. - Preferred Language: Java/C++/Python/Or any language of your choice.
-Skills or prerequisite knowledge: General coding - -Preferred Language: preferably Python/Matlab/R. Bit difficult with other languages but can be done. - -
-Description: text editor with text management features like - notes, reminders, auto save, web-api's - -Skills or prerequisite knowledge: General coding - -Preferred Language: preferably C++/java/Python or any language of your choice. - -
-Skills or prerequisite knowledge: General coding - -Preferred Language: C - -Additional Information: see www.tldp.org/LDP/lkmpg/2.6/htm l/index.html -
-Skills or prerequisite knowledge: General coding.Preferred Language: PHP. -
-Skills or prerequisite knowledge: General coding.Preferred Language: PHP. -
-Skills or prerequisite knowledge: Maths
-Skills or prerequisite knowledge: General coding and OpenGL / WebGL.
-Implementing a simple data compressor/decompressor.Skills or prerequisite knowledge: General coding. -Preferred Language: Java/C++/Python/Or any language of your choice.
-Skills or prerequisite knowledge: General coding.Preferred Language: Java/C++/Python/Or any language of your choice.
-Skills or prerequisite knowledge: General coding. -Preferred Language: PHP/Python/Node JS or any backend language of your choice.
-Even pros were noob once.
- -Coordinators guide the new members of the club in improving their coding skills and even help with their projects to fix their bugs and glitches. -
- -Student at Institute of Technical Education and Research, Bhubaneswar.
- Skils: Programming,Php,Shell scripting. -Full Stack web Developer, Co - Founder of Codex (coding club of Institute of Technical Education & Research) Bhubaneswar.
- Skills: Full Stack Web Developer. -Geek. Coder.
- Skills: Python, Django, Web developer. -Student at Institute of Technical Education and Research, Bhubaneswar.
- Skills: Python, Webdeveloper. -Student at Institute of Technical Education and Research, Bhubaneswar.
- Skills: Python programming. -Student at ITER|JAVA Programmer|Web Developer at Prelude Digital|Coordinator at Codex|Defence Aspirant
- Skills: Java Programming. -Student at ITER, Bhubaneswar ITER, Bhubaneswar.
- Skills: Python, Django, Machine Learning. -Our latest posts and rants.
-In this induction we were introduced to the Founders and coordinators of the club.And what are the future plans of the codex to shape the coding skills in ITER. - Read More
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo - consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non - proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - Read More
-WE CODE WE EXPLORE.
-We are coding club of Institute Of Technical Education & Research.We help our juniors to improve their coding skills and work on real life projects.
-A password manager that stores your password and logs in for you.
-The Stegano Project aims to implement a pure form of Steganography. Its final goal is to take any form of medium(Source Data)and hide User Data in it by implementing a technique called Steganography. -
-An attendance tracker which shows current attendance.
-Text editor with text management features like - notes, reminders, auto save, web-api's.
-What our teachers has to say about us.
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exer
-Something went wrong... Unable to load map... Please try to enable javascript
- -Get in touch with us.
-Codex 2.0
- - -