Security is always a primary agenda of application development. CSRF (Cross-Site Request Forgery) token is one of a very common security technique we use for malicious attacks. A common PHP Framework like CodeIgnitor also has that feature. From CI v2.0 it has been introduced. We need to follow some steps to use the automated […]
Alternative to the Deprecated PHP “each” Function
Recently I have encountered an issue with my old codes. Those were running just fine earlier. Issue occurs while my server updated its PHP version to 7.2. Actually, this is common, with up-gradation to server configurations some old functions get deprecated, and in my case, it was PHP “each” function. With PHP version 7.2 “each” […]
How we can create Custom Pipes in Angular 7?
Custom Pipes Pipes are a very helpful feature in Angular. There are some built-in pipes, but I can also build my own pipes, that is called Custom Pipe. In this blog, we will learn about Custom Pipe in Angular7. Pipes are one of the interesting features of angular but sometimes built-in pipes are not sufficient […]
How we can create attribute binding in Angular 7?
Data binding is a core concept in Angular and it allows to explain communication between a component and the DOM. There are many types of data-binding in Angular. Here I will discuss Attribute Binding and how to implement it in angular 7. We can set the value of an attribute directly with attribute binding. Attribute Binding […]
Know how to create a simple carousel with Angular
In this blog, we are going to discuss, how to create a simple carousel in Angular. For creating a carousel, first, install ng-bootstrap. So, open the terminal and write down the folder structure, and type: npm install –save @ng-bootstrap/ ng-bootstrap Next, go to app.module.ts page app.module.ts import { NgbModule } from ‘@ng-bootstrap/ng-bootstrap’; imports: [ NgbModule […]
Enable Submit Button After Correct Validation including regExp
We can find forms on almost every website. In this blog, we will see how we can validate user inputs with the help of JavaScript. Form validation is the process of verifying that a form has been filled in accurately before it is submitted. Here, we’ll see if all the fields are of correct values, […]
Upload and Display Image using JavaScript and PHP
In this blog, I’ll show how to upload and display an image with both JavaScript and PHP. Please follow these steps. Step 1 First make a folder named, “upload-image”. Under “upload-image”, create another folder for the image, named “image” where my image will show after upload. Step 2 1. Create a file named, “index.php” […]
Easy And Helpful Steps Of Creating A New Branch With Git
When you do a pull request on a branch, you’ll be able to still work on another branch and create another pull request on this other branch. Before creating a completely new branch, pull the changes from upstream. Your master needs to be up to date. $ git pull Create the branch on your native […]
Some useful differences between CSS and SCSS
CSS is the styling language which is used to style web pages. Initially, CSS was written to style the HTML pages which grows more and more in the line of codes if the HTML pages increases. As the project gets bigger, maintenance & readability of CSS code gets harder. CSS causes some problems like: Big effort […]
Create Your Own Flipbook with Turnjs
Hello guys, Today I am introducing a simple example of how can we make an image flipbook with the help of Turn JS. Turn JS is nothing but a JavaScript library that helps us to create beautiful magazines or books like user view with the advantage of HTML5. Here is the html part, first you […]