SlimAPI Framework Installation

Nowadays, The internet is full of third-party and custom APIs that offer a wide range of functionalities and Features. PHP offers several frameworks for web app, mobile app api development rapidly. However, time is always the crucial part of web developers and the app needs to be pushed at an impossible deadline. In such times, … Read more

How to Secure Cookie in PHP using Session

An alternative way to make data accessible across the various pages of an entire website is to use a PHP Session.session creates a file in a temporary directory on the server where registered session variables and their values are stored. This data will be available to all pages on the site during that visit. But … Read more

MySQL Transactions

MySQL transactions can be used when you want to make sure all the statements you specify are executed. Only the tables of InnoDB storage engine support transactions. In a transaction, if at least one statement fails, all the changes will be rolled back and database will be in its initial state. In web applications, it’s … Read more



At some point in your development career, it is likely that you will want to work on multiple MySQL servers. Personally, I like using phpMyAdmin for quick database management. However, what I don’t want to do is maintain multiple instances of phpMyAdmin. I also don’t want to install phpMyAdmin on any production web-servers. What I … Read more



In many web applications, we have to work with remote databases. It is very hard to manage those databases by accessing the remote server which our database run. Therefore, if we have a way to manage those databases locally using a UI, our task is getting easier. Now I will show you how to manage those … Read more

Ajax Upload and Resize an Image with PHP.

Today I am presenting the most important social networking feature called ajax upload and resize an image without refreshing the page using jquery and PHP. This tutorial a continuation of my previous post, I just included image re-sizing function for different dimensions. It is very useful for your web project that saves lots of hosting … Read more

Upload and Resize an Image with PHP

Are you looking for image upload and Resize PHP script. I had implemented a simple PHP script to re-sizing image into different dimensions. It’s very useful to your web projects to save hosting space and bandwidth to reduce the original image to compressed size. PHP CodeThis script resize an Image into two 60px and 25px. … Read more