<?php
//POST
$curl = new CURL();
$curl->method('POST');
$result = $curl->query('', array('a' => 'Carmen', 'b' => 'Joe', 'c' => 'Peter'));
var_dump($result);
//GET
$curl->method('GET');
$result = $curl->query('', array('a' => 'Carmen', 'b' => 'Joe', 'c' => 'Peter'));
var_dump($result);
var_dump($_GET);
var_dump($_POST);
?>
|