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

search for in the

HttpRequest::addPutData> <HttpRequest::addPostFields
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpRequest::addPostFile

(PECL pecl_http >= 0.10.0)

HttpRequest::addPostFileYeni bir POST dosyası ekler

Açıklama

public bool HttpRequest::addPostFile ( string $isim , string $dosya [, string $içerik_türü = "application/x-octetstream" ] )

POST isteğine bir dosya ekler, bunu yaparken evvelce eklenmiş dosyalara dokunmaz.

Sadece POST istekleri ve özel istekler etkilenir. Ham post verisi ile birlikte kullanılamaz.

Değiştirgeler

isim

Form elemanının adı.

dosya

Dosyanın yolu.

içerik_türü

Dosyanın içerik türü.

Dönen Değerler

Başarı durumunda TRUE döner. Akse takdirde, eğer içerik türünün birincil ve ikincil parçaları yok gibi görünüyorsa FALSE döner.



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

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