All blog posts/Category

Web Development

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 →

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 →

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 →

Mobile device emulators to test web page display

Today, the usage of mobile is increasing day by day and most of the users are preferring mobile device over desktop. Therefore it is almost necessary to ch…

Read more →

Wordpress plugins to help Administrators

While browsing thorough my emails today morning. I found a link to wordpress plugins for blog administrators . This is a well categorized list and have plugins …

Read more →

Reset password of Joomla 1.0.x Administrator

Recently I need to upgrade one Joomla 1.0.x installation to the new installation. If you are also dealing with Joomla 1.0 installation to upgrade or maintain an…

Read more →

Server side forced reload of a cached file in browser

With the advent of modern browsers, web pages are using more and more javascript and stylesheets to make applications work faster and look better. And this is a…

Read more →

Working with Access-Control-Allow-Origin

When developing Ajax applications on local machine you may face this error on almost all browsers that cross referring a link from other domain is not allowed. …

Read more →

Session issue in IIS with CakePHP

When working on PHP and MySql development we rarely get a chance to install the application on Windows IIS server. And today I was asked to do the same. The fir…

Read more →

MySql Dump Using a PHP Script

When you need to take a backup of a large MySql database, then "mysqldump" command come most handy and does the task in few seconds. But for that we need to acc…

Read more →

Issue of wierd characters in a dynamic PHP web page

When using special characters in UTF-8 character encoding, sometimes when you read something from mysql database then it is not displayed properly on the web pa…

Read more →

CakePHP and jQuery

When I recently started working on some of my ideas of a web application, then CakePHP is the framework of my choice. I am working with it since last 3-4 years …

Read more →