Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of eshan chowdhury  >  HTTP CURL  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: HTTP CURL
Send HTTP requests using the Curl extension
Author: By
Last change:
Date: 4 years ago
Size: 299 bytes
 

Contents

Class file image Download
<?php

include_once("class.curl.php");

$http = new http();
$http->setURL("http://2funhost.com");
$http->saveCookie("eshan.txt");
$http->setUA("Nokia");
$http->setProxy("78.46.255.91",'53');
$http->post(array("hello"=>'eshan'));
echo 
$http->exec();

//echo $http->errno();
//echo $http->error();

?>