<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'book.stream.php',
    1 => 'Stream',
    2 => 'Akımlar',
  ),
  'up' => 
  array (
    0 => 'refs.basic.other.php',
    1 => 'Diğer Temel Eklentiler',
  ),
  'prev' => 
  array (
    0 => 'function.spl-object-id.php',
    1 => 'spl_object_id',
  ),
  'next' => 
  array (
    0 => 'stream.setup.php',
    1 => 'Yapılandırma/Kurulum',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/stream/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.stream.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.stream" class="book">
 <h1 class="title">Akımlar</h1>
 

  <div id="intro.stream" class="preface">
   <h1 class="title">Giriş</h1>
   <p class="simpara">
    Akımlar, ortak bir işlev ve kullanım kümesini paylaşan dosya, ağ, veri
    sıkıştırması ve bunlarla ilgili diğer işlemleri genelleştirmenin bir
    yoludur. En basit tanımıyla, bir
    <code class="literal">akım</code> akışkan bir davranış gösteren <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>
    türünde bir nesnesidir. Yani, akımlar doğrusal anlamda okunup yazılabilir ve akım
    içindeki keyfi konumlara gitmek (<span class="function"><a href="function.fseek.php" class="function">fseek()</a></span>) mümkün
    olabilir.
   </p>
   <p class="simpara">
    Bir <code class="literal">sarmalayıcı</code>, akıma belli bir protokolü veya
    kodlamayı nasıl ele alacağını söyleyen bir koddur. Örneğin,
    <code class="literal">http</code> sarmalayıcısı bir URL&#039;nin, bir uzak sunucudaki bir
    dosya için nasıl, bir <code class="literal">HTTP/1.0</code> isteğine
    dönüştürüleceğini bilir. PHP&#039;de öntanımlı olarak, bir çok yerleşik
    sarmalayıcı vardır (bak: <a href="wrappers.php" class="xref">Desteklenen Protokoller ve Sarmalayıcılar</a>). Ayrıca,
    <span class="function"><a href="function.stream-wrapper-register.php" class="function">stream_wrapper_register()</a></span> işlevi kullanılarak
    bir eklenti üzerinden doğrudan doğruya özel sarmalayıcılar eklenebilir.
    PHP&#039;ye her çeşit sarmalayıcı eklenebileceğinden bunlarla yapılabileceklerin
    bir sınırı yoktur. Kurulumunuzda desteklenen sarmalayıcıların tam bir
    listesini edinmek için <span class="function"><a href="function.stream-get-wrappers.php" class="function">stream_get_wrappers()</a></span> işlevini
    kullanın.
   </p>
   <p class="para">
    Bir akıma şöyle başvurulur:
    <code class="parameter">şema</code>://<code class="parameter">hedef</code>
    <ul class="itemizedlist">
     <li class="listitem">
      <span class="simpara">
       <code class="parameter">şema</code> (<span class="type"><a href="language.types.string.php" class="type string">string</a></span>) - Kullanılacak
       sarmalayıcının ismidir. <code class="literal">file, http, https, ftp, ftps,
       compress.zlib, compress.bz2</code> ve <code class="literal">php</code> bu
       sarmalayıcılardan bazılarıdır.  PHP&#039;de yerleşik olarak bulunan
       sarmalayıcıların listesini <a href="wrappers.php" class="xref">Desteklenen Protokoller ve Sarmalayıcılar</a> altında
       bulabilirsiniz. Hiçbir sarmalayıcı belirtilmediği takdirde işlev
       öntanımlısı (genellikle <code class="literal">file</code>://) kullanılır.
      </span>
     </li>
     <li class="listitem">
      <span class="simpara">
       <code class="parameter">hedef</code> - Kullanılan sarmalayıcıya bağlıdır. Dosya
       sistemi ile ilgili sarmalayıcılar için genellikle istenen dosyanın
       bulunduğu dosya yolu ve dosyanın isminden oluşur. Ağ ile ilgili
       sarmalayıcılarda ise bir konak ismine eklenen bir dosya yolu
       kullanılır. Yerleşik sarmalayıcıların hedefleri ile ilgili açıklamalar
       için  <a href="wrappers.php" class="xref">Desteklenen Protokoller ve Sarmalayıcılar</a> bölümüne bakınız.
      </span>
     </li>
    </ul>
   </p>
   <p class="para">
   </p>
  </div>

 






 






 







 







 







 






 





 





 







<ul class="chunklist chunklist_book"><li><a href="stream.setup.php">Yapılandırma/Kurulum</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="stream.resources.php">Akım Sınıfları</a></li></ul></li><li><a href="stream.constants.php">&Ouml;ntanımlı Sabitler</a></li><li><a href="stream.filters.php">Akım S&uuml;zge&ccedil;leri</a></li><li><a href="stream.contexts.php">Akım Bağlamları</a></li><li><a href="stream.errors.php">Akım Hataları</a></li><li><a href="stream.examples.php">&Ouml;rnekler</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="stream.streamwrapper.example-1.php">Akım Sarmalayıcı olarak &ouml;rnek bir sınıf tanımı</a></li></ul></li><li><a href="class.php-user-filter.php">php_user_filter</a> — php_user_filter sınıfı<ul class="chunklist chunklist_book chunklist_children"><li><a href="php-user-filter.filter.php">php_user_filter::filter</a> — S&uuml;zge&ccedil; uygulanırken &ccedil;ağrılır</li><li><a href="php-user-filter.onclose.php">php_user_filter::onClose</a> — S&uuml;zge&ccedil; kapanışında &ccedil;ağrılır</li><li><a href="php-user-filter.oncreate.php">php_user_filter::onCreate</a> — S&uuml;zge&ccedil; oluşturulurken &ccedil;ağrılır</li></ul></li><li><a href="class.streamwrapper.php">streamWrapper</a> — streamWrapper sınıfı<ul class="chunklist chunklist_book chunklist_children"><li><a href="streamwrapper.construct.php">streamWrapper::__construct</a> — Yeni bir akım sarmalayıcı oluşturur</li><li><a href="streamwrapper.destruct.php">streamWrapper::__destruct</a> — Mevcut bir akım sarmalayıcısını yok eder</li><li><a href="streamwrapper.dir-closedir.php">streamWrapper::dir_closedir</a> — Dizin tanıtıcısını kapatır</li><li><a href="streamwrapper.dir-opendir.php">streamWrapper::dir_opendir</a> — Dizin tanıtıcısı a&ccedil;ar</li><li><a href="streamwrapper.dir-readdir.php">streamWrapper::dir_readdir</a> — Dizinden bir girdi okur</li><li><a href="streamwrapper.dir-rewinddir.php">streamWrapper::dir_rewinddir</a> — Dizin tanıtıcısını dizin başlangıcına konumlar</li><li><a href="streamwrapper.mkdir.php">streamWrapper::mkdir</a> — Bir dizin oluşturur</li><li><a href="streamwrapper.rename.php">streamWrapper::rename</a> — Bir dosya veya dizinin ismini değiştirir</li><li><a href="streamwrapper.rmdir.php">streamWrapper::rmdir</a> — Bir dizini siler</li><li><a href="streamwrapper.stream-cast.php">streamWrapper::stream_cast</a> — Temel &ouml;zkaynağı d&ouml;nd&uuml;r&uuml;r</li><li><a href="streamwrapper.stream-close.php">streamWrapper::stream_close</a> — Bir &ouml;zkaynağı kapatır</li><li><a href="streamwrapper.stream-eof.php">streamWrapper::stream_eof</a> — Dosya g&ouml;stericisinin dosya sonunda olup olmadığına bakar</li><li><a href="streamwrapper.stream-flush.php">streamWrapper::stream_flush</a> — &Ccedil;ıktıyı boşaltır</li><li><a href="streamwrapper.stream-lock.php">streamWrapper::stream_lock</a> — Tavsiye niteliğinde dosya kilitleme</li><li><a href="streamwrapper.stream-metadata.php">streamWrapper::stream_metadata</a> — Akım meta verilerini değiştir</li><li><a href="streamwrapper.stream-open.php">streamWrapper::stream_open</a> — Bir dosya veya URL a&ccedil;ar</li><li><a href="streamwrapper.stream-read.php">streamWrapper::stream_read</a> — Akımdan veri okur</li><li><a href="streamwrapper.stream-seek.php">streamWrapper::stream_seek</a> — Akım &uuml;zerinde belli bir konuma gidilir</li><li><a href="streamwrapper.stream-set-option.php">streamWrapper::stream_set_option</a> — Akım se&ccedil;eneklerini değiştirir</li><li><a href="streamwrapper.stream-stat.php">streamWrapper::stream_stat</a> — Bir dosya &ouml;zkaynağı hakkında bilgi d&ouml;nd&uuml;r&uuml;r</li><li><a href="streamwrapper.stream-tell.php">streamWrapper::stream_tell</a> — Bir akımdan ge&ccedil;erli konumu d&ouml;nd&uuml;r&uuml;r</li><li><a href="streamwrapper.stream-truncate.php">streamWrapper::stream_truncate</a> — Akımı sondan kırpar</li><li><a href="streamwrapper.stream-write.php">streamWrapper::stream_write</a> — Akıma yazar</li><li><a href="streamwrapper.unlink.php">streamWrapper::unlink</a> — Bir dosyayı siler</li><li><a href="streamwrapper.url-stat.php">streamWrapper::url_stat</a> — Bir dosya hakkında bilgi d&ouml;nd&uuml;r&uuml;r</li></ul></li><li><a href="ref.stream.php">Akım İşlevleri</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.stream-bucket-append.php">stream_bucket_append</a> — Zincirin sonuna bir bakla ekler</li><li><a href="function.stream-bucket-make-writeable.php">stream_bucket_make_writeable</a> — &Uuml;zerinde işlem yapmak i&ccedil;in zincirden bir bakla nesnesi d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-bucket-new.php">stream_bucket_new</a> — Ge&ccedil;erli akımda kullanmak i&ccedil;in yeni bir bakla oluşturur</li><li><a href="function.stream-bucket-prepend.php">stream_bucket_prepend</a> — Zincirin başına bir bakla ekler</li><li><a href="function.stream-context-create.php">stream_context_create</a> — Bir akım bağlamı oluşturur</li><li><a href="function.stream-context-get-default.php">stream_context_get_default</a> — &Ouml;ntanımlı akım bağlamını d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-context-get-options.php">stream_context_get_options</a> — Bir akım/sarmalayıcı/bağlam i&ccedil;in atanmış se&ccedil;enekleri d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-context-get-params.php">stream_context_get_params</a> — Bir bağlamın bağımsız değişkenlerini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-context-set-default.php">stream_context_set_default</a> — Akımları i&ccedil;eren &ouml;ntanımlı bağlamı tanımlar</li><li><a href="function.stream-context-set-option.php">stream_context_set_option</a> — Bir akım/sarmalayıcı/bağlam i&ccedil;in bir se&ccedil;enek tanımlar</li><li><a href="function.stream-context-set-options.php">stream_context_set_options</a> — Sets options on the specified context</li><li><a href="function.stream-context-set-params.php">stream_context_set_params</a> — Bir akım/sarmalayıcı/bağlam i&ccedil;in bağımsız değişkenleri tanımlar</li><li><a href="function.stream-copy-to-stream.php">stream_copy_to_stream</a> — Veriyi bir akımdan diğerine kopyalar</li><li><a href="function.stream-filter-append.php">stream_filter_append</a> — S&uuml;zge&ccedil; zincirinin sonuna bir s&uuml;zge&ccedil; ekler</li><li><a href="function.stream-filter-prepend.php">stream_filter_prepend</a> — S&uuml;zge&ccedil; zincirinin başına bir s&uuml;zge&ccedil; ekler</li><li><a href="function.stream-filter-register.php">stream_filter_register</a> — Kullanıcı tanımlı bir akım s&uuml;zgecini etkin kılar</li><li><a href="function.stream-filter-remove.php">stream_filter_remove</a> — Akımdan bir s&uuml;zgeci kaldırır</li><li><a href="function.stream-get-contents.php">stream_get_contents</a> — Akımdan kalanı bir dizgeye okur</li><li><a href="function.stream-get-filters.php">stream_get_filters</a> — Etkin s&uuml;zge&ccedil;lerin listesini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-get-line.php">stream_get_line</a> — Akımdan belirtilen ayraca kadar bir satır d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-get-meta-data.php">stream_get_meta_data</a> — Akımdan başlıkları/meta verileri d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-get-transports.php">stream_get_transports</a> — Etkin soket aktarımlarının listesini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-get-wrappers.php">stream_get_wrappers</a> — Etkin akımların listesini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-is-local.php">stream_is_local</a> — Akım, bir yerel akımsa true d&ouml;ner</li><li><a href="function.stream-isatty.php">stream_isatty</a> — Akımın bir TTY olup olmadığına bakar</li><li><a href="function.stream-notification-callback.php">stream_notification_callback</a> — notification bağlam bağımsız değişkeni i&ccedil;in bir
  geri &ccedil;ağırım işlevi</li><li><a href="function.stream-register-wrapper.php">stream_register_wrapper</a> — stream_wrapper_register işlevinin takma
  adıdır</li><li><a href="function.stream-resolve-include-path.php">stream_resolve_include_path</a> — G&ouml;reli dosya adını mutlak yoluna &ccedil;&ouml;z&uuml;mler</li><li><a href="function.stream-select.php">stream_select</a> — Belirtilen akım dizisi &uuml;zerinde saniye ve mikrosaniye ile
   belirtilen zaman aşımıyla select() sistem &ccedil;ağrısının eşdeğeri olarak
   &ccedil;alışır</li><li><a href="function.stream-set-blocking.php">stream_set_blocking</a> — Akımın engelleme kipini ayarlar</li><li><a href="function.stream-set-chunk-size.php">stream_set_chunk_size</a> — Akım blok boyutunu tanımlar</li><li><a href="function.stream-set-read-buffer.php">stream_set_read_buffer</a> — Akıma dosya okuma tamponu tanımlar</li><li><a href="function.stream-set-timeout.php">stream_set_timeout</a> — Akımın zaman aşımı s&uuml;resini ayarlar</li><li><a href="function.stream-set-write-buffer.php">stream_set_write_buffer</a> — Belirtilen akımda dosya yazma tamponunu ayarlar</li><li><a href="function.stream-socket-accept.php">stream_socket_accept</a> — stream_socket_server ile oluşturulmuş bir
  soketten bağlantı kabul eder</li><li><a href="function.stream-socket-client.php">stream_socket_client</a> — Bir Genel Ağ veya Unix alan soketi bağlantısı a&ccedil;ar</li><li><a href="function.stream-socket-enable-crypto.php">stream_socket_enable_crypto</a> — Bağlı bir soket &uuml;zerinde şifrelemeyi a&ccedil;ıp kapatır</li><li><a href="function.stream-socket-get-name.php">stream_socket_get_name</a> — Yerel veya uzak soketin ismini d&ouml;nd&uuml;r&uuml;r</li><li><a href="function.stream-socket-pair.php">stream_socket_pair</a> — Soket akımlarınca ayırt edilebilen bir bağlantı &ccedil;ifti oluşturur</li><li><a href="function.stream-socket-recvfrom.php">stream_socket_recvfrom</a> — Bağlı olsun ya da olmasın bir soketten veri alır</li><li><a href="function.stream-socket-sendto.php">stream_socket_sendto</a> — Bir sokete bağlı olsun ya da olmasın, bir ileti g&ouml;nderir</li><li><a href="function.stream-socket-server.php">stream_socket_server</a> — Bir Genel Ağ veya Unix alan sunucusu soketi oluşturur</li><li><a href="function.stream-socket-shutdown.php">stream_socket_shutdown</a> — &Ccedil;ift y&ouml;nl&uuml; bağlantıyı kapatır</li><li><a href="function.stream-supports-lock.php">stream_supports_lock</a> — Akımın kilitlemeyi destekleyip desteklemediğine  bakar</li><li><a href="function.stream-wrapper-register.php">stream_wrapper_register</a> — Bir PHP sınıfı olarak ger&ccedil;eklenmiş bir URL sarmalayıcısını etkin kılar</li><li><a href="function.stream-wrapper-restore.php">stream_wrapper_restore</a> — İptal edilmiş yerleşik bir sarmalayıcıyı tekrar etkin kılar</li><li><a href="function.stream-wrapper-unregister.php">stream_wrapper_unregister</a> — Bir URL sarmalayıcısını iptal eder</li></ul></li></ul></div><?php manual_footer($setup); ?>