php man page for http_send_content_type

Query: http_send_content_type

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTTP_SEND_CONTENT_TYPE(3)						 1						 HTTP_SEND_CONTENT_TYPE(3)

http_send_content_type - Send Content-Type

SYNOPSIS
bool http_send_content_type ([string $content_type = "application/x-octetstream"])
DESCRIPTION
Send the Content-Type of the sent entity. Note This function should be used in conjunction with http_send_data(3), http_send_file(3) and http_send_stream(3).
PARAMETERS
o $content_type - the desired content type (primary/secondary)
RETURN VALUES
Returns TRUE on success or FALSE on failure.
ERRORS
/EXCEPTIONS Raises an E_WARNING when the $content_type doesn't seem to contain a primary and a secondary part.
SEE ALSO
http_send_data(3), http_send_file(3), http_send_stream(3), the HttpResponse class if you are using PHP 5.1.0 and above. PHP Documentation Group HTTP_SEND_CONTENT_TYPE(3)
Related Man Pages
http_cache_etag(3) - php
gupnp_service_notify(3) - php
gupnp_service_proxy_action_get(3) - php
header_register_callback(3) - php
mb_output_handler(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun