PHP Tutorials

Post into a Facebook page Using Graph API

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 …

Continue reading




How to extract a zip file in php

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, …

Continue reading




How to Create a Web Service using PHP

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 …

Continue reading




Download File from URL

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 …

Continue reading