Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<HttpRequest::setCookiesHttpRequest::setMethod>
Last updated: Tue, 19 Sep 2006

HttpRequest::setHeaders

(no version information, might be only in CVS)

HttpRequest::setHeaders -- Set headers

Description

publicbool HttpRequest::setHeaders ( [array headers] )

Set request header name/value pairs.

Parameters

headers

an associative array as parameter containing header name/value pairs; if empty or omitted, all previously set headers will be unset

Return Values

Returns TRUE on success or FALSE on failure.




<HttpRequest::setCookiesHttpRequest::setMethod>
Last updated: Tue, 19 Sep 2006