Blog

Notes on web, marketing, and the craft.

Long-form pieces from the Nirvaat team on web development, Laravel, PHP, SEO, digital marketing and what we're learning along the way.

How to add middleware to restrict user access without login in Laravel 11?

How to add middleware to restrict user access without login in Laravel 11?

I am developing a project in which I have to make sure that the user can access the page only if he is logged in, otherwise he should remain at the login page. …

Read more →
How I Integrated reCAPTCHA v3 with AJAX in my Laravel 11 project

How I Integrated reCAPTCHA v3 with AJAX in my Laravel 11 project

Are you adding reCAPTCHA validation to your website forms and Google for the first time and google's guide is going right above your head? That was me, today mo…

Read more →
Skills Over Degrees: A Game Changer for IT Career

Skills Over Degrees: A Game Changer for IT Career

Focusing on Skills Over Degrees Reframe the Degree Mindset: Degrees are just one part of the equation. Attributes like problem-solving, adaptability, and critic…

Read more →

Remove unwanted objects, people, defects, or text from your picture.

Many times it happens that you click a great picture, but it gets spoiled because of any unwanted object, person, text, or something else. If you want to remove…

Read more →

Remove pagination from Wordpress Search page

To remove the pagination from wordpress search page, add the following script in your theme's functions.php file: function no_nopaging($query) { $query->set(…

Read more →

How to detect bots in a server side script like PHP

Humans and bots will do similar things, but bots will do things that humans don't. Let's try to identify those things. Before we look at behavior, let's accept …

Read more →

Generate SPF Record

SPF records are required for the EMail address verification by most of the email servers now a days. To help you generate the correct SPF record for your domain…

Read more →

Adding mssql support in php5 on Debian or Ubuntu

To add/install MSSQL support in PHP5 on Debian linux server, follow the below steps: Install FreeTDS and the PHP MS SQL extension sudo apt-get install freetds-c…

Read more →

Cakephp preventing ARO to check for user permissions

In cakephp most of us use ACL with Auth component to manage logins and access to various pages. When we need to implement this feature based on User Roles only.…

Read more →

Uploading files to FTP server from PHP Script

For one of my project I was required to upload files on an FTP server from the PHP script. Searching on Google I found code required but it was not completely a…

Read more →