From: Michael Wallner Date: Thu, 8 Dec 2005 19:56:55 +0000 (+0000) Subject: - update constant names in examples X-Git-Tag: RELEASE_0_20_0~43 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=47cd72629fe543b55429acc1550899ef3e1d3f87 - update constant names in examples --- diff --git a/http_request_object.c b/http_request_object.c index 925cd6d..9bebb43 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -1037,7 +1037,7 @@ PHP_METHOD(HttpRequest, getUrl) * Set the request method. * * Expects an int as parameter specifying the request method to use. - * In PHP 5.1+ HttpRequest::METH, otherwise the HTTP_METH constants can be used. + * In PHP 5.1+ HttpRequest::METH_*, otherwise the HTTP_METH_* constants can be used. * * Returns TRUE on success, or FALSE on failure. */ @@ -1959,7 +1959,7 @@ PHP_METHOD(HttpRequest, clearHistory) * GET example: *
  * setOptions(array('lastmodified' => filemtime('local.rss')));
  * $r->addQueryData(array('category' => 3));
  * try {
@@ -1976,7 +1976,7 @@ PHP_METHOD(HttpRequest, clearHistory)
  * POST example:
  * 
  * setOptions(array('cookies' => array('lang' => 'de')));
  * $r->addPostFields(array('user' => 'mike', 'pass' => 's3c|r3t'));
  * $r->addPostFile('image', 'profile.jpg', 'image/jpeg');