* fields = array('foo' => '1', 'bar' => 'apple'); * $result = $curl->execute(); * if (!PEAR::isError($result)) { * echo $result; * } * ?> *
* create(); * if (!PEAR::isError($check)) { * $curl->setOption(CURLOPT_FOO, 'bar'); * $result = $curl->execute(); * if (!PEAR::isError($result)) { * echo $result; * } * } * * ?> *