httpresponse.setcontenttype(3) php man page | unix.com

Man Page: httpresponse.setcontenttype

Operating Environment: php

Section: 3

HTTPRESPONSE.SETCONTENTTYPE(3)						 1					    HTTPRESPONSE.SETCONTENTTYPE(3)

HttpResponse::setContentType - Set content type

SYNOPSIS
static bool HttpResponse::setContentType (string $content_type)
DESCRIPTION
Set the Content-Type of the sent entity.
PARAMETERS
o $content_type - the content type of the sent entity (primary/secondary)
RETURN VALUES
Returns TRUE on success, or FALSE if the content type does not seem to contain a primary and secondary content type part.
SEE ALSO
HttpResponse::getContentDisposition, HttpResponse::setContentDisposition, HttpResponse::getContentType, HttpResponse::guessContentType. PHP Documentation Group HTTPRESPONSE.SETCONTENTTYPE(3)
Related Man Pages
http_redirect(3) - php
http_throttle(3) - php
imagewbmp(3) - php
xmlwriter_write_element(3) - php
mojo::content::single(3pm) - debian
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch