Archives

How to include JavaScript file into another JavaScript file

Before 2015, when the ES6 module was not introduced in JavaScript, there was no functionality available to import, include any file. However, when ES6 module introduced, we can import, include, and require files in JavaScript very easily with some lines of code. In this tutorial, we are going to include a JavaScript file into another… Read More »

Trick to remove public/index.php from URL in Laravel

If you found “public/index.php/” in your project's URLs and you want to remove that then, you will have to create an .htaccess file in your project's root directory and you have to put below code in it and save the .htaccess file. However; you have to make sure that the 'mod_rewrite' module is enabled on… Read More »

How to clear cache in Laravel 5

While working on Laravel projects, sometimes you face an issue that code changes that you are making are not reflecting on the web interface. This issue occurs because pages/interfaces are being served from the cache; therefore, changes are not reflecting on the web interface. To get rid of this type of issue we will have… Read More »

How to enable PHP error reporting on web browser

This tutorial is very much helpful for you if you are debugging an existing project or you are making a new project live, and suddenly your project stopped working, and you want to see errors on your web browser. There are two ways to display errors. The first one is to display error on the… Read More »

Category: PHP

How to clear cache in Codeigniter via inbuilt functions

What is caching in Codeigniter? In Codeigniter framework, caching is a technique that help developers to cache pages in order to acheive maximum performance from the cached web page. Although, Codeigniter is very fast in itself if we compare it with other frameworks like YII, Zend etc. because it is very less in size, less memory… Read More »

Category: PHP

How to get user meta information in WordPress

Hello Friends, after a long break, I am back once again. Today I am going to share with you a very simple but useful small code for getting all logged in user's meta information. Although, this tutorial is already written on WordPress official site and many other tutorial/blog websites so that I thought, I must share… Read More »

How to fix YOAST WordPress SEO sitemap 404 error

Usually, Yoast wordPress SEO sitemap 404 error occurs due to poor coded themes or unsupported plugins. It can be fixed easily by following simple trick. First, check to see if you have enabled the 'Check this box to enable XML sitemap functionality.' In the wordPress SEO sitemaps setting. If you haven’t enabled, then enable this… Read More »

List of all Indian states separated by comma

Hello Friends, Today i am going to share with you all Indian state list separated by comma. This is a very basic requirement in our daily development schedule and as you know, we don't store this types of small tools and when it needed, we start searching across the projects 'In which project i have… Read More »