- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function web_put_header(const header: string): boolean;
Arguments:
-
header |
HTTP header string |
Description:
-
Sets HTTP response header as 'Name: Value'. If such header is already set it will be replaced. Call this function before any output if output_buffering is disabled in psp.conf.
Returns:
-
TRUE on success, FALSE on error.
Usage:
-
web_put_header('Pragma: no-cache');
See also:
-
web_set_header.
|