In this post, I would like to show you creating a JSON file and appending content to it whenever somebody submits a form. For this…
1 CommentTutorials / Programming tips Posts
Array.ForEach is about 95% slower than for() in for each for Arrays in JavaScript. So, don’t use: var data = []; arr.forEach(function (item) { data.push(item);…
Leave a CommentBelow is the simple function to get class name without namesapce. public function getClassName() { $path = explode(‘\\’, __CLASS__); return array_pop($path); }
Leave a CommentIn this post, I will show you how easy it is to set up maintenance mode in CodeIgniter using CI’s hooks. while updating your web…
1 CommentI recently had to connect to an MSSQL Server using PHP on an Ubuntu system using PHP. To connect to MSSQL using PHP 5.6 we’ll…
Leave a CommentIn this post, I would like to show how you can configure the Azure SQL firewall settings. By configuring the firewall settings, you can allow…
Leave a CommentYou can now specify keys in list(), or its new shorthand [] syntax. This enables destructuring of arrays with non-integer or non-sequential keys.
Leave a CommentIn this post, I will show you how you can use the new Symmetric array destructuring feature of PHP7.1 version. In the previous version of…
Leave a CommentIn this post, I would like to show you how to integrate Google reCAPTCHA. Google reCAPTCHA is more user-friendly and reliable which protects your websites…
2 CommentsIn this post, I will show you can access the Azure REST APIs. In order to access the Azure APIs, we need the following details-…
Leave a CommentIn this post, I am gonna show you how to write a simple shell script to delete files from a directory if the files are…
Leave a CommentIn this post, I will show you how we can configure NGINX to serve applications form the different directories. I have two node application both…
1 CommentIn this post, I will show how you can secure your Slim3 Framework-based applications using JSON Web Token (JWT). To know more about JWT and…
91 CommentsIn this post, you will learn about Cross-Origin Resource Sharing. Http requests are restricted by the same-origin policy, which means where scripts can be loaded…
2 CommentsSlim is a full-featured, open-source PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. It comes with a sophisticated…
7 Comments