logo

PHP

Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on Azure with Ubuntu 18.04

In this article step-by-step process is discussed to setup LAMP stack in Azure, with Ubuntu 18.04 as the operating system.
24 June 2020
Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on AWS EC2 with Ubuntu 20.04

In this article step-by-step process is discussed to setup LAMP stack in AWS EC2, with Ubuntu 20.04 as the operating system.
3 June 2020
PHP

Download File from AWS S3 Bucket and Save to Local Server using API (PHP)

This article contains sample PHP code that implement the GetObject S3 API call. It will download a file from a S3 bucket, and save it to local server.
28 January 2020
PHP

How to Get List of All Google Fonts using PHP

The list of all Google Fonts can be retrieved using the Google Fonts Developer API.
20 November 2019
Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on AWS EC2 with Ubuntu 18.04

In this article step-by-step process is discussed to setup LAMP stack in AWS EC2, with Ubuntu 18.04 as the operating system.
29 November 2018
PHP

Setting HTTP Cache Headers with PHP

Through the header() function it is possible to set "Cache-Control" and "ETag" headers in a PHP script.
13 March 2018
PHP

HTTP Caching for Web Applications - Practical Examples of Cache Headers

HTTP caching can be achieved by sending Cache-Control and ETag headers from the server. This tutorial explains caching through some examples where HTTP headers are exchanged between the browser and the server.
6 March 2018
PHP

HTTP Caching for Web Applications - Cache Headers Explained

HTTP caching gives a good performance boost to your websites and applications. Caching can be implemented through a combination of Cache-Control and ETag response headers.
6 March 2018
PHP

Verifying Paypal IDs by Implementing Login with Paypal (using PHP)

While asking a user for his Paypal account, it is better to verify it. This can be done by implementing Login with Paypal, and getting the verified ID via API calls.
13 November 2017
PHP

How to Create, Update & Delete Spreadsheet with Google Sheets API using PHP

This tutorial explains how to create, update & delete a Google spreadsheet using Sheets API and PHP
31 October 2017
PHP

How to Update and Delete an Event with Google Calendar API using PHP

Updating and deleting an event with Google Calendar API. Contains a demo.
3 October 2017
PHP

Google Refresh Tokens : Answers to Some Common Questions

This article contains answers to common questions and confusions related to Google refresh tokens.
2 June 2017
PHP

How to Install Apache, MySql, PHP & phpMyAdmin on Ubuntu 16 (LAMP Stack)

A tutorial on how to install the latest versions of Apache, PHP, Mysql and phpMyAdmin on Ubuntu 16.04
25 January 2017
PHP

How to Upload Files to AWS S3 using API (PHP)

Files can be uploaded to AWS S3 using its REST API. This tutorial contains code snippet to upload files to a given S3 bucket using PHP.
18 January 2017
PHP

How to Detect User Timezone in PHP

You need to use the Javascript getTimezoneOffset() method to get the timezone offset in hours, then pass this offset to PHP to detect user timezone name using timezone_name_from_abbr() function.
10 January 2017
PHP

How to Add an Event with Google Calendar API using PHP

A tutorial on adding events with Google Calendar API v3 using PHP. Contains a demo.
4 January 2017
PHP

Login with Pinterest using PHP

Pinterest OAuth API provides a simple way of integrating "Login with Pinterest" feature in your web application. Through this you can implement login and signup in your website. This tutorial explains the implementation of the login process using PHP.
27 December 2016
PHP

Login with Instagram using PHP

Instagram OAuth API provides an easy way of integrating "Login with Instagram" feature in your web application. You can implement login and signup with Instagram in your website using PHP. You can also fetch data of the user such as name, picture etc.
22 December 2016
PHP

How to Execute a Script at Specific Time, Only Once, using PHP

Sometimes it is required to execute a PHP script at a given time, only once. Instead of using a cron job, schedule it through Linux "at" command.
13 December 2016
Javascript

2 Ways of AJAX File Upload - FormData and FileReader

A file can be uploaded with jQuery in 2 ways. The first method is implemented using FormData where a multipart/form-data POST request is sent. The second method is uploading using FileReader where a normal POST request is sent.
25 November 2016