Wednesday, 5 September 2018

TCSR Organization Profile


Hi All,
Please find the Organization Profile of TCSR


                    Technology Centre for Software and Research (TCSR) is a dynamic group of highly competent IT professionals providing cost effective and cutting-edge IT solutions with integration of Data Mining/Research tools and Applications. Their focus is greater return for their client’s technology investment. They are a dynamic company where teamwork and common goals are the main driving force. Expert and timely delivery of customized solutions is what they can do best.
Technology Centre for Software and Research (TCSR) is a professional web design company, offering first-class website development services, Internet Marketing and Promotion, E-Commerce and Content Management solutions to clients. Their services include new domain name search and registration, site design and development (including photography, graphics, and writing), and ongoing maintenance of your sites. 
  • Custom Design & Layout
  • Custom HTML Programming
  • Custom Graphic Design (GUI)
  • Professional Digital Photography
  • Library of Over thousands of Professional Web Templates
  • Available JavaScript, Java, Perl, ASP, .Net, VC++, PHP, VB Programming
  • Flash & Shockwave Programming Technology
  • Online Forms & E-mail
  • Search Engine Optimization (SEO)
  • Custom Web Site Performance Statistics
  • Business Analytics
Company’s Mission Statement
Technology Centre for Software and Research (TCSR) powering is innovative, cost-effective and quality solutions in Web applications, Intelligent Systems and Software Applications.

Tuesday, 14 August 2018

Encrypt data in PHP

Hi all,

Qn) How can I encrypt data in php

Ans: We can simple encrypt the data in php using mcrypt extension.  The functions used are mcrypt_encrypt() and mcrypt_decrypt().

See the program below.

Program courtesy : Sankara Narayana Sharma, MCA III Semester Student, Sree Narayana Institute of Technology, Kollam, Kerala, India.


<html>
<body>

<?php

$input = "Apple";

$encrypted = encryptIt( $input );
$decrypted = decryptIt( $encrypted );

echo "orginal text: ".$decrypted . '<br />'."Encrypted text: " . $encrypted;

function encryptIt( $q ) {
    $cryptKey  = 'rhe';
    $qEncoded      = base64_encode( mcrypt_encrypt( MCRYPT_RIJNDAEL_256, md5( $cryptKey ), $q, MCRYPT_MODE_CBC, md5( md5( $cryptKey ) ) ) );
    return( $qEncoded );
}

function decryptIt( $q ) {
    $cryptKey  = 'rhe';
    $qDecoded      = rtrim( mcrypt_decrypt( MCRYPT_RIJNDAEL_256, md5( $cryptKey ), base64_decode( $q ), MCRYPT_MODE_CBC, md5( md5( $cryptKey ) ) ), "\0");
    return( $qDecoded );
}

?>
</body>


</html>

Monday, 18 December 2017

PHP in Research - Bioinformatics

Hi All,

PHP can be easily used for similarity checking for sequences using

i)  Jaccard
ii) Cosine
iii) Overlap and
iv) Dice

The program will be published soon

Saturday, 16 December 2017

New Advanced Computer Science Projects supported by my Research Centre- 2017-18

Hi All,
My Company has added few more project titles for 2017-18 Batch . Contact me for Project Support.

Doing an innovative project using advance technology is no big deal.
You need passion...that's the only requirement.
Anyone can be taught any technology if interested.


1. Windspeed prediction using Artificial Neural Networks (ANN)

2. Weather Reporting using R-Pi, Python and Twitter Interface

3. Student performance Prediction using Artificial Neural Networks (ANN)

4. Weather Forecasting using Artificial Neural Networks (ANN)

5. Twitter Sentiment Analysis using Python

6. Cancer prediction using Artificial Neural Networks (ANN)

7. Protein Interaction Prediction using Support Vector machine(SVM)

8. Car Number Plate detection and recognition using Matlab Image Processing Toolkit.

9. DNA cryptography for Text and Image Encryption using Matlab

Wednesday, 13 December 2017

Ajax

HI All,

Program 1 - ajaxmain.php
----------------------
<html>
<head>
<script>
function loadDoc() {
//alert('HUP');
     var

key=document.frmsearch.sname.value;
      var xhttp = new XMLHttpRequest();
      xhttp.onreadystatechange =

function() {
        if (xhttp.readyState == 4 &&

xhttp.status == 200) {
             document.getElementById

("demo").innerHTML = xhttp.responseText;
        }
  };
  xhttp.open("GET", "searchstud.php?

key="+key, true);
  xhttp.send();
}
</script>


</head>
<body >
<form name=frmsearch  method=post>
<center>Name <input type=text name=sname

onkeyup="loadDoc()"><input type=button

value='Search Student'onclick="loadDoc

()">
</center>
</form>
<div id="demo" align=center><h2>Search

Result</h2></div>
</body>
</html>


-----------------------
Program 2 - searchstud.php

<?php
$con=mysql_connect("localhost","root","");
mysql_select_db("m301db",$con);
$sname=$_GET['key'];

$sql="Select * from tbl_student where st_name like '%$sname%'";



$data=mysql_query($sql,$con);
echo "<table border=1 align=center width=50%>";
echo "<tr><th>Name</th><th>Roll No</th><th>Marks</th></tr>";
while($row=mysql_fetch_array($data))
{
$name=$row[0];
$rollno=$row[1];
$marks=$row[2];

echo "<tr><td>$name</td><td>$rollno</td><td>$marks</td></tr>";

}

mysql_close($con);

?>

Search Without Ajax

Hi All,
Find the code below.

<html>
<body>
<?php
include('connect.php');
?>
<form method=post>
<pre>

Name    <input type=text name=name>

<input type=submit value='Search' >
</form>
</pre>
<table border=1 align=center>
<tr><th>Id</th><th>Name</th><th>Marks</th><th>Rank</th></tr>"
<?php
if(isset($_POST['name']))
{

$name=$_POST['name'];
$sql="select * from tbl_student where st_name like '%$name%'";

$data=mysql_query($sql,$con) ;
while($row=mysql_fetch_row($data))
{
echo "<tr><td>$row[0]</td><td>$row[1]</td><td>$row[2]</td><td>$row[3]

</td><td><a href=delstudent.php?id=$row[0]&name=$row[1]&marks=$row[2]

>Delete<a></td></tr>";

}

}

?>
</table>   
</body>
</html>

Tuesday, 12 December 2017

Multiple Submit Buttons

Hi All,
Please see the code.

<html>
<body>
<form method=post>
Number1 <input type=text name=num1>
Number2 <input type=text name=num2>
<input type=submit value='Add' name=btnadd>
<input type=submit value='Sub' name=btnsub>
</form>
<?php
if(isset($_POST['num1']))
{
$n1=$_POST['num1'];
$n2=$_POST['num2'];
if(isset($_POST['btnadd']))
{
$sum=$n1+$n2;
echo "Sum is ".$sum;
}
else if(isset($_POST['btnsub']))
{
$diff=$n1-$n2;
echo "Difference is ".$diff;
}

}//IF ends
?>
   
</body>
</html>