How to Upload and Display Image in PHP

Upload and Display Image

In this php tutorial example we do upload image using file upload and display image on same page in img control after uploading image. PHP upload is a single-line, built-in function invocation. Any user inputs, especially files, can not be processed without proper filtering. Why? Because people may upload harmful files to the server. After […]

How to Show dynamic data on modal popup using php

In this tutorial, we are going to learn about how to show dynamic data on modal popup using PHP MySQL. The Modal is a popup window or dialog box that displayed over the current web page. Bootstrap and jQuery Library Before using the Bootstrap to create modal popup, the Bootstrap and jQuery library need to […]

How to Copy Text to Clipboard using JavaScript

In this article, you will learn how to write (copy) text and images to the clipboard using Javascript. Generally, the key combination (CTRL+C) of the keyboard is used to copy text to clipboard. If you want to integrate copy to clipboard functionality on button click, JavaScript is the easiest option to do that. The HTML […]

How to add Days, Hours, Minutes, and Seconds to Datetime in PHP

Here we’ll provide the simplest way to add days, minutes, hours, and seconds to Datetime using PHP. In PHP, using date() and strtotime() functions you can easily increase or decrease time. The provided PHP code lets you do the following work. Using the above code you can add time to current time or any desire […]

Laravel Configuration – The PHP Framework

In the previous post, we have seen that the installation of Laravel and overview of laravel . In this post, let us discuss the categories included in the configuration. Environment Configuration Environment variables are those which provide a list of web services to your web application. All the environment variables are declared in the .env […]