PHP Classes

File: test_fbapp.php

Recommend this page to a friend!
  Classes of Md Emran Hasan  >  HTTP client class  >  test_fbapp.php  >  Download  
File: test_fbapp.php
Role: Example script
Content type: text/plain
Description: Test file showing fetching of facebook application page.
Class: HTTP client class
Access Web resources via HTTP with sockets or Curl
Author: By
Last change:
Date: 9 years ago
Size: 309 bytes


Class file image Download

// Include the Http Class

// Instantiate it
$http = new Http();

// Get Facebook Application page

// Show result page or error if occurred
echo ($http->error) ? $http->error : $http->result;