Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
How to read the .docx files in PHP

How to read the .docx files in PHP

Hi, In This tutorial you will learn about "How to read the .docx files in PHP". Generally .docx files will be opened in the MS-OFFICE, But we are able to open the .docx file in PHP we have to convert the .docx file into text then we can easily display the content in the web browser. <?php function read_file_docx($filename){ $striped_content...
How to save an HTML5 Canvas as Image on a server using PHP

How to save an HTML5 Canvas as Image on a server using PHP

Hi, In this tutorial, I am going to explain, How to save an HTML5 Canvas as Image on a server using PHP. Before going to this topic please refer "How to convert the HTML content into an image using jquery" in my previous post then you will get an idea how to generate the div content as an image. Step 1: First Convert canvas image to URL format (base64) var...
How to Refresh a page after specific time automatically in PHP

How to Refresh a page after specific time automatically in PHP

Hi, In This tutorial you will know about How to Refresh a page after specific time automatically in PHP. Generally, we did this type of implementation in the javascript or jquery but sometimes javascript is disabled in the user's side (i.e users disabled the javascript in their browsers). At this situation, we need to implement that code in PHP it...
How to store and retrieve array in MySQL and PHP

How to store and retrieve array in MySQL and PHP

This is the most important technique for all Php developers because of Mysql can't store the array values directly. So we need to convert the PHP Array to string by using the serialize(). This mechanism is very useful in the e-commerce cart functionality. For example, we can store the customer purchase items list and price can be stored in the associative...
How to Generate QR Code using Google Chart API in PHP

How to Generate QR Code using Google Chart API in PHP

Hi, In this tutorial you will learn How to Generate QR Code using Google Chart API in PHP. Before going to the topic you need to know about what is QR Code? QR Code is a machine-readable code, It consisting of an array of black and white squares. It is typically used for storing the information like general text, contact information, URL, image and...
How to get the geolocation details of the user during a website visit

How to get the geolocation details of the user during a website visit

Hi, You will learn in this tutorial how to get the geolocation details of the user during a website visit. Basically, we need the visitor's location details to analyze the site webmasters to know which country users are visiting the site and also some area wise reports and interested post published on the website, For which post gains more traffic...