downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

http_send_content_type> <http_redirect
[edit] Last updated: Fri, 17 May 2013

view this page in

http_send_content_disposition

(PECL pecl_http >= 0.10.0)

http_send_content_dispositionContent-Disposition başlığını gönderir

Açıklama

bool http_send_content_disposition ( string $dosyaismi [, bool $satıriçi = false ] )

Content-Disposition başlığını gönderir. İstemci veya kullanıcının (örneğin, tarayıcının "Sayfayı farklı kaydet..." seçeneği ile) "kaydettiği" bir dosyadan veya benzeri bir oluşumdan gelen veriyi göndermek gerektiğinde Content-Disposition başlığı çok işe yarar.

Bilginize: Bu işlev, http_send_data(), http_send_file() ve http_send_stream() işlevleri ile birlikte kullanılmalıdır.

Değiştirgeler

dosyaismi

"Sayfayı farklı kaydet..." penceresinde gösterilecek dosya ismi.

satıriçi

TRUE atandığı takdirde, kullanıcı aracısı içerik türünü nasıl işleyeceğini biliyorsa muhtemelen kayıt penceresinin gösterilmesine yol açmayacaktır.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.

Ayrıca Bakınız



add a note add a note User Contributed Notes http_send_content_disposition - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites