30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

zend_send_buffer<br />

Ouputs the contents of a string buffer to a client using ZDS and terminates the script.<br />

Description<br />

void zend_send_buffer (string $buffer [ , string $mime_type [ , string<br />

$custom_headers ]])<br />

Parameters<br />

buffer<br />

266<br />

The actual content for the output<br />

mime_type<br />

MIME type of the file. If nothing is specified, the file is treated as an application/octet-stream.<br />

custom_headers<br />

User defined HTTP headers that will be sent instead of regular ZDS headers. If nothing is<br />

specified, a few essential headers are sent, anyway.<br />

Return Value<br />

zds_get_pid<br />

Returns the download server's process ID.<br />

Description<br />

int zds_get_pid (void)<br />

Return Value<br />

The download server's process ID.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!