PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of mertuarez  >  HTTP client  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: how to use httpclient
Class: HTTP client
Send HTTP requests to Web servers
Author: By
Last change: post method changed
Date: 6 years ago
Size: 512 bytes


Class file image Download
require once 'httpclient.php';
$client = new httpclient;
//get url

//post url
//$client->open($url," "); //space in post do post method

//inherited cookies
$client->open($url.'view.php?thread=123p'," ");

//show data

// echo $client->response_body;

//echo $client->....; //use client variables