PHP and jQuery – Crop Image and Upload using Croppie plugin

In this article, we are going to crop an image using jQuery Croppie plugin and upload the image via Ajax request in PHP. There are a number of options to customize including the output image size, shape and orientation. We... Read more

Extract all Links from a Webpage using PHP

The following is a simple PHP script to extract all links from a webpage : <h1 style="text-align:center;">Extract All Links from a Webpage using PHP</h1> <hr> <?php function getAllLinks($url){ $urlData = file_get_contents($url); $dom = new DOMDocument(); @$dom->loadHTML($urlData); $xpath = new DOMXPath($dom);... Read more

Generate User Avatar with Name using PHP

In computing, an avatar (also known as a profile picture or userpic) is a graphical representation of a user or the user’s character or persona. It may take either a two-dimensional form as an icon in Internet forums and other... Read more

Social Media Link Preview using PHP

Social Medias today are one of the major source of traffic to web applications and websites. URL sharing in social media platforms like Facebook, Twitter, Instagram, Viber and others are used extensively to drive traffic to websites or other applications.... Read more

Free Sending Emails with PHP

Email has become one of the integral part of our daily process in recent years. Especially to business or corporate houses, emails are widely used for communication and marketing purposes. In this article, we are going to learn to send... Read more

Get Client IP Address using PHP

The simplest way to get the IP address of client with PHP is using the $_SERVER[‘REMOTE_ADDR’] or $_SERVER[‘REMOTE_HOST’] variables. However, sometimes this does not return the correct IP address of the visitor, so we can use some other server variables... Read more

Build a simple Calendar in Website using PHP (With Source Code)

A Calendar is a chart or series of pages showing the days, weeks, and months of a particular year, or giving particular seasonal information. In this article, we will be learning to design and develop a Calendar for a webpage... Read more

Upload Files in Chunk using PHP and JavaScript

Often, we need users to upload files via a webpage. There’s not much challenge if the file is a simple text file or a small image file. The real challenge arises when there’s a big files (zip or videos or... Read more

How to Zip/Unzip files using PHP

Compressing files while transferring from one location to other is always a good option. In case of web experience, compressing files means reducing the file size by nice margin resulting in low bandwidth consumption as well as faster download and... Read more

Remove index.php from Codeigniter using htaccess

In CodeIgniter project the index.php file will be included in your URLs by default. However, we would want to remove index.php from our URL to make it look clean as well as make it SEO friendly. We can achieve this... Read more

Hangman Game in PHP : Complete Source Code

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other(s) tries to guess it by suggesting letters within a certain number of guesses. Complete Source... Read more

How to run a Linux command in background ?

Running a command in the background can be useful when the command will run for a long time and does not need supervision. It leaves the screen free so you can use it for other work. In addition, it doesn’t... Read more

Multiple File Upload with HTML and PHP

We might have been in situation where we need to upload multiple files from a form. If you are in same situation, then you are in right place for the solution. In this article, we are going to learn to... Read more

Install Laravel on Ubuntu with 4 simple steps

If you are looking to start your journey of Laravel, then this article is for you. You will learn to install Laravel one of the most popular PHP Framework currenly in Ubuntu Operating System. The OS I am using is... Read more

Responsive FileManager as Standalone File Manager

In this post, we are going to implement Responsive FileManager as a standalone filemanager. We will be using JQuery along with Fancybox JavaScript and CSS for this. Source Code : <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" integrity="sha256-Vzbj7sDDS/woiFS3uNKo8eIuni59rjyNGtXfstRzStA=" crossorigin="anonymous" /> <h1 style="text-align:center;">Standalone Responsive Filemanager</h1>... Read more