Tic-tac-toe game using React JS

In this tutorial you will see how to build Tic-tac-toe (tic tac toe) game using React or React JS https://reactjs.org/. React is a declarative, efficient, and flexible JavaScript library for building user interfaces. You may read more about tic-tac-toe game at https://en.wikipedia.org/wiki/Tic-tac-toe. You may also read tic tac toe using Java here https://www.jeejava.com/tic-tac-toe-game-using-java/

Prerequisites

Knowledge of HTML and JavaScript

Continue reading “Tic-tac-toe game using React JS”

Tic-tac-toe game using React JS was last modified: April 9th, 2018 by Soumitra Roy Sarkar

Move http to https on WordPress

In this article, you will see how to add SSL and HTTPS in WordPress website.

It is recommended these days to move HTTP to HTTPS on WordPress is an important thing because most of in our websites we share sensitive data like credit card and bank information or login credentials dozens of times per day. As a website owner it is your duty to keep the information safe when users making online transactions for purchasing something using debit card, credit card or netbanking or they simply logging in to your site.

To protect the data transfer, a secure connection is required using one of the most important step – use HTTPS (Hyper Text Transfer Protocol Secure) and SSL (Secure Socket Layer) encryption on your website.

HTTPS or Secure HTTP is an encryption mechanism, which secures the connection between user’s browser and your server. That means, any information that is exchanged gets encrypted.

Continue reading “Move http to https on WordPress”

Move http to https on WordPress was last modified: May 4th, 2018 by Soumitra Roy Sarkar

Save Files to MySQL using PHP

We have seen file upload using PHP in previous tutorials PHP file upload but in this tutorial we will see how to save files to MySQL database using PHP.

You may be wonder why you would need to save file content into database rather than just into the file system. In situations where PHP application needs to put entire file then the preferred method would be to put the file into server’s file system and save the file path into the database.

However in situations, where an application needs to save the entire file content into database along with other data. In such cases you have to put the file content into MySQL’s BLOB data type field.

Continue reading “Save Files to MySQL using PHP”

Save Files to MySQL using PHP was last modified: April 3rd, 2018 by Soumitra Roy Sarkar

PHP Multiple Files Upload Example

PHP multiple files upload example will show you how to upload multiple files using PHP. In this example the files are selected using the browse buttons and files are uploaded to the ‘uploads’ directory under root project directory. PHP script stores the files into the defined location and returns response as a success or failure message from the PHP script. As a validation step I have added only to check if you have selected at least one file for uploading or not.

You may want to read also PHP Single File Upload Example

This tutorial will give you more attachment link for uploading file, so you will click on Attach another file then you will get Choose File button to attach another file. If you do not want to upload the chosen file then you can delete the attached file using Delete link.

Continue reading “PHP Multiple Files Upload Example”

PHP Multiple Files Upload Example was last modified: May 4th, 2018 by Soumitra Roy Sarkar

Printing pyramid with stars in Unix Shell Programming

The below unix shell programming will show you an example on printing pyramid with stars in unix shell programming. This tutorial will also show how to use if else condition, how to use for loop in shell programming. We will also see how to take input from keyboard.

Continue reading “Printing pyramid with stars in Unix Shell Programming”

Printing pyramid with stars in Unix Shell Programming was last modified: May 5th, 2018 by Soumitra Roy Sarkar

Multi-step Registration form using Codeigniter, MySQL, jQuery

Sometimes we need to capture lots of user details during registration process and as a result we got long forms on web page. So the best solution is to break the form into smaller logical section and present it into a multi-step registration form. This type of mult-step registration form always improves usability on web page comparing to very long form.

I am going to explain how to convert very long form into multi-step registration form using Codeigniter, MySQL and jQuery.

Continue reading “Multi-step Registration form using Codeigniter, MySQL, jQuery”

Multi-step Registration form using Codeigniter, MySQL, jQuery was last modified: March 6th, 2018 by Soumitra Roy Sarkar

Quick Sort using C

Quick sort or quicksort (sometimes called partition-exchange sort) is an efficient and very fast sorting algorithm for internal sorting, serving as a systematic method for placing the elements of an array in order. When implemented well, it can be about two or three times faster than its main competitors, merge sort and heapsort. In efficient implementations it is not a stable sort, meaning that the relative order of equal sort items is not preserved. Quick sort can operate in-place on an array, requiring small additional amounts of memory to perform the sorting. Continue reading “Quick Sort using C”

Quick Sort using C was last modified: May 31st, 2018 by Soumitra Roy Sarkar