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

search for in the

stream_get_line> <stream_get_contents
[edit] Last updated: Fri, 07 Jun 2013

view this page in

stream_get_filters

(PHP 5)

stream_get_filtersEtkin süzgeçlerin listesini döndürür

Açıklama

array stream_get_filters ( void )

Kurulu sistemdeki kullanılabilir süzgeçlerin listesini döndürür.

Dönen Değerler

Kurulu sistemdeki kullanılabilir süzgeçlerin isimlerini içeren indisli bir dizi döndürür.

Örnekler

Örnek 1 - stream_get_filters() örneği

<?php
$streamlist 
stream_get_filters();
print_r($streamlist);
?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

Array
(
    [0] => string.rot13
    [1] => string.toupper
    [2] => string.tolower
    [3] => string.strip_tags
    [4] => convert.*
    [5] => consumed
    [6] => bzip2.*
    [7] => convert.iconv.*
    [8] => zlib.*
    [9] => http.*
)

Ayrıca Bakınız



add a note add a note User Contributed Notes stream_get_filters - [1 notes]
up
0
Jasper Bekkers
7 years ago
Filters to be used within the convert filter are base64-encode,  base64-decode, quoted-printable-encode and quoted-printable-decode. Note: those are not in the string filter, as currently reported by the manual!

Example usage is:
<?php
$h
= fopen('gecodeerd.txt', 'r');
stream_filter_append($h, 'convert.base64-decode');
fpassthru($h);
fclose($h);
?>
Or
<?php
$filter
= 'convert.base64-decode';
$file = 'coded.txt';
$h = fopen('php://filter/read=' . $filter . '/resource=' . $file,'r');
fpassthru($h);
fclose($h);
?>

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