Add Terms and Conditions WooCommerce

If you run an online store, a terms and conditions document is very important.  The terms and condition document is a set...

Router Wise CSRF Token Validation :: Express :: Node JS

Hello Techies, I face an issue in express like i am developing Rest APIs for Mobile and Web Application both, In Web...

How to Implement CSRF Tokens in Express :: Node JS

Security is of paramount concern for all developers, and especially for developers using unopinionated web frameworks, like Express. Since Express doesn’t have...

Add Foreign Key to existing table

To add a foreign key (grade_id) to an existing table (users), follow the following steps: ALTER TABLE users ADD...

How to handle 404 error in express ?

404 error in a service is typically used to denote that the requested resource is not available. In this article we will...

How to Determine 1 Year Ago from now or 1 Year Later Date from...

oneYearFromNow:Date = new Date(new Date().setFullYear(new Date().getFullYear() + 1)) oneYearAgo:Date = new Date(new Date().setFullYear(new Date().getFullYear() -...

404 not found error appears :: Opencart

I have solved it than you for helpedited the .htaccess RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

Protect your website/webpage with .htpasswd and .htaccess file

Hello techies, I use this for testing my website which is live but have to test something with some...

To perform the requested action wordpress needs to access your web server. Please enter...

Add the following to wp-config.php: define( 'FS_METHOD', 'direct' ); Let me know how it works for...

Directive for accept only numeric + forward slash(/) + hyphen(-) in angular 2+

import { Directive, ElementRef, Input, HostListener } from '@angular/core'; @Directive({ selector: 'input[IpExchange]' }) export class IpExchangeDirective { // Allow decimal numbers. The ....