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-TypeSYNOPSISbool http_send_content_type ([string $content_type = "application/x-octetstream"])DESCRIPTIONSend 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).PARAMETERSo $content_type - the desired content type (primary/secondary)RETURN VALUESReturns 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 ALSOhttp_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)