In this tutorial I will explain how you can send emails from local using XAMPP with SMTP settings. It will help you to check the display of the email body on your local system. Open D:\xampp\sendmail\sendmail.ini file and change the below values : Now open D:\xampp\php\php.ini file and change below: Now you don’t need to use any SMTP details in your application. Just use php mail() function like below. Hope …
PHP Tutorials
Take a Screenshot Using Html2Canvas JS
In previous post I have explained about Feedback with screenshot using feedback JS, which is using Html2Canvas JS to take a screenshot, now In this tutorial I will show how you can take a screenshot using Html2Canvas JS. This script allows you take a screenshot of a part of the web page also. You can download Html2Canvas jQuery plugin from https://github.com/niklasvh/html2canvas/releases. Following is an example to take a screenshot of full …
Post into a Facebook page Using Graph API
I have published a tutorial on How to Auto Post on Facebook Using PHP with Graph API which post status on user’s wall. Now in this tutorial I am going to show you how to post into a facebook page using Graph API with PHP. Create Facebook APP: To get the Facebook Access token you need to create Facebook App. To create a Facebook App please follow the steps of …
How to extract a zip file in php
In previous tutorial I have explained how to create a zip file in PHP. It is useful for create a zip file of selected documents and download it in zip format. Now in this tutorial I will explain how to extract a zip file in PHP. It will help us to take zip file from the user directly and extract them for use easily. We will use php class ZipArchive, …
How to Create a Web Service using PHP
Every application developer needs the ability to develop the services for wide range of platforms. We have SOAP (Simple Object Access Protocol) to create such a service and interact with the software with ease. So in this tutorial I will explain you how you can create a web service using PHP library nusoap. nusoap library : It’s very easy to create SOAP service. Download the nusoap library from http://sourceforge.net/projects/nusoap/. You …
Download File from URL
In this tutorial I will explain you how to download file from URL. We two methods to get content from external URL’s, file_get_contents and CURL. Using file_get_contents : This function reads entire file into a string. But this function only works when fopen is enabled. Using CURL : CURL supports http, https, ftp, file protocols and more. Mostly enabled on all server these days. If you are using https url …
Auto Post on LinkedIn Using PHP OAuth
In previous tutorials, I have explained Auto Post on Twitter and Facebook. Now in this tutorial I will explain, how you can Auto Post on LinkedIn using PHP OAuth and LinkedIn API. As we already know how we can get user Access Token for LinkedIn, in this tutorial we will share the content on LinkedIn using this Access Token, PHP OAuth and LinkedIn API. Get Access Token You can get …
Get User Access Token for LinkedIn
In my previous tutorials I have explained how you can get user access token for Twitter and Facebook. In this tutorial I am sharing, how you can get user access token for LinkedIn. To get Access Token for LinkedIn you need to create a LinkedIn application and get the Authentication Keys Client ID and Client Secret. Also you will need to use LinkedIn API with OAuth PHP library to get …