Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
The HttpResponse
PHP Manual

HttpResponse::setETag

(PECL pecl_http >= 0.10.0)

HttpResponse::setETagSet ETag

Description

static bool HttpResponse::setETag ( string $etag )

Set a custom ETag. Use this only if you know what you're doing.

Parameters

etag

unquoted string as parameter containing the ETag

Return Values

Returns TRUE on success or FALSE on failure.

See Also


The HttpResponse
PHP Manual