0
I Use This!
Activity Not Available

Project Summary

CurlxCurlx is a PHP5 wrapper class for cURL functions.

Examples (also available inside Curlx.php):

Simplified GET request (to fetch a web page, similar to file_get_contents()) $curlx = new Curlx;
$web_page = $curlx->fetch('http://example.com/');Simplified POST request $curlx = new Curlx;
$web_page = $curlx->fetch('http://example.com/', array('username' => 'User', 'password' => 'pa55word'));Site login // Imagine you're using a social networking site on example.com,
// and you want your PHP script to log in and update your profile for you.
$curlx = new Curlx;
// This file will be used whenever there's cookie data to be stored or sent to the server.
$curlx->setCookiePath('my_cookie.text');

// Send a POST request containing your username and password to the login page
$response = $curlx->fetch('http://example.com/login', array('username' => 'User', 'password' => 'pa55word'));

// Randomly pick a mood for your new profile status
$moods = array('happy', 'sad', 'angry');
$current_mood = $moods[mt_rand(0, count($moods) - 1)];
$status = "I am $current_mood today!";

// Do a status update on your example.com profile
$response = $curlx->fetch('http://example.com/profile', array('status' => $status));

Tags

curl php

In a Nutshell, curlx...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Commercial Use

Modify

Distribute

Sub-License

Private Use

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    compare projects before you chose one to use
  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis