https://github.com/diversen/mycurl
Simple Curl wrapper for most common usage
https://github.com/diversen/mycurl
Last synced: over 1 year ago
JSON representation
Simple Curl wrapper for most common usage
- Host: GitHub
- URL: https://github.com/diversen/mycurl
- Owner: diversen
- Created: 2016-02-16T10:04:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T21:05:41.000Z (about 10 years ago)
- Last Synced: 2025-02-07T22:28:31.146Z (over 1 year ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mycurl
## Example
~~~.php
include_once "vendor/autoload.php";
use diversen\mycurl;
$c = new mycurl('http://coscms/account/login/index');
$post = array (
'email' => 'test',
'password' => 'test',
'submit_account_login' => 'Send');
$c->setPost($post);
$c->createCurl();
echo $c->getWebPage();
~~~