PHP Classes
elePHPant
Icontem

cURL Easy and Fast: Send HTTP request to remote servers using Curl

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-16 (11 months ago) RSS 2.0 feedNot enough user ratingsTotal: 1,328 This week: 2All time: 2,822 This week: 433Up
Version License PHP version Categories
curl-easy-fast 1.3GNU General Publi...5.0Networking, HTTP, PHP 5
Description Author

This class can Send HTTP request to remote servers using PHP Curl extension.

It can send an HTTP GET or POST request with custom parameters to a given remote URL.

The class also supports options to configure the HTTP requests like handling redirects, response timeout period, referrer URL, whether it should return the response data, request headers, upload files, and proxy server to use.

  Performance   Level  
Name: Evert Ulises German Soto <contact>
Classes: 3 packages by
Country: Mexico Mexico
Age: 32
All time rank: 6087 in Mexico Mexico
Week rank: 68 Up1 in Mexico Mexico Up

Details
How Much Do With This:

* This class execute an customizable cURL object.
* The options have a default configuration, but you can set a new values for specific purposes.
* You can do everything you can imagine. With cURL you avoid the cross-domain headache.
* Can be used to retrieve web resources, send HTTP requests to given webpage or url using GET or POST methods. Parameters are accepted.
* You can upload files to external server without problems, just need know the receiver process for this works fine.
* User agent can be altered, and referer information.
* Optional headers request.
* Proxy not is a problem, you can set the values for use it.
* Calling webservices like weather channel, twitter are really fast and easy.
* Accept all redirects that you needed.

Examples:

1.- Basic Use
	This is the most basic use to send data by post method and request information.
	file: index.php

2.- Retrieving and Save Request in File
	You can save the request in file for more details.
	file: index_webpage.php

3.- Proxy Use
	If have problems with proxys, you can set some arguments for use it.
	file: index_proxy.php

4.- Upload File
	You can upload file with any parameters.
	file: form.html

5.- Redirect Troubles?
	If your webpage provided redirect to another url, you can get the final result without problem with this settings in the class.
	file: redirect.php
  Files folder image Files  
File Role Description
Accessible without login Plain text file api_rest.php Example Example to call an api rest method
Plain text file curl.class.php Class class file curl
Accessible without login Plain text file form.html Example You can upload file with any parameters.
Accessible without login Plain text file index.php Example Basic Use
Accessible without login Plain text file index_proxy.php Example If have problems with proxys, you can set some arguments for use it.
Accessible without login Plain text file index_webpage.php Example Retrieving and Save Request in File
Accessible without login Plain text file process_file.php Example process_file.php
Accessible without login Plain text file process_page.php Example process_page.php
Accessible without login Plain text file process_redir.php Example process_redir.php
Accessible without login Plain text file process_redir1.php Example process_redir1.php
Accessible without login Plain text file process_redir2.php Example process_redir2.php
Accessible without login Plain text file readme.txt Doc. Documentation and examples description
Accessible without login Plain text file redirect.php Example If your webpage provided redirect to another url, you can get the final result without problem with this settings in the class.
Accessible without login Plain text file upload.php Example upload.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,328
This week:2
All time:2,822
This week:433Up