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
http_send_file(3) - php
http_cache_last_modified(3) - php
http_send_content_disposition(3) - php
xmlrpc_set_type(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!