mirror of
https://github.com/php/doc-tr.git
synced 2026-04-27 17:03:12 +02:00
107 lines
2.6 KiB
XML
107 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: nilgun Status: ready -->
|
||
<refentry xml:id="context.zip" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="verify_info:false" role="stream_context_option">
|
||
<refnamediv>
|
||
<refname>Zip bağlamı seçenekleri</refname>
|
||
<refpurpose>Zip bağlamı seçeneklerinin listesi</refpurpose>
|
||
</refnamediv>
|
||
|
||
<refsect1 role="description"><!-- {{{ -->
|
||
&reftitle.description;
|
||
<para>
|
||
Zip bağlamı seçenekleri <literal>zip</literal> sarmalayıcılar için
|
||
kullanılabilir.
|
||
</para>
|
||
</refsect1><!-- }}} -->
|
||
|
||
<refsect1 role="options"><!-- {{{ -->
|
||
&reftitle.options;
|
||
<para>
|
||
<variablelist>
|
||
<varlistentry xml:id="context.zip.password">
|
||
<term><parameter>password</parameter></term>
|
||
<listitem>
|
||
<para>
|
||
Şifreli arşiv için kullanılacak parolayı belirtmek için kullanılır.
|
||
</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</para>
|
||
</refsect1><!-- }}} -->
|
||
|
||
<refsect1 role="changelog"><!-- {{{ -->
|
||
&reftitle.changelog;
|
||
<para>
|
||
<informaltable>
|
||
<tgroup cols="2">
|
||
<thead>
|
||
<row>
|
||
<entry>&Version;</entry>
|
||
<entry>&Description;</entry>
|
||
</row>
|
||
</thead>
|
||
<tbody>
|
||
<row>
|
||
<entry>7.2.0, PECL zip 1.14.0</entry>
|
||
<entry>
|
||
<parameter>password</parameter> eklendi.
|
||
</entry>
|
||
</row>
|
||
</tbody>
|
||
</tgroup>
|
||
</informaltable>
|
||
</para>
|
||
</refsect1><!-- }}} -->
|
||
|
||
<refsect1 role="examples"><!-- {{{ -->
|
||
&reftitle.examples;
|
||
<para>
|
||
<example xml:id="context.zip.example-password"><!-- {{{ -->
|
||
<title>- Basit <parameter>password</parameter> kullanım örneği</title>
|
||
<programlisting role="php">
|
||
<![CDATA[
|
||
<?php
|
||
// Şifreli arşivi oku
|
||
$opts = array(
|
||
'zip' => array(
|
||
'password' => 'secret',
|
||
),
|
||
);
|
||
// bağlamı oluştur...
|
||
$context = stream_context_create($opts);
|
||
|
||
// ...ve veriyi çekip almak için onu kullan
|
||
echo file_get_contents('zip://test.zip#test.txt', false, $context);
|
||
|
||
?>
|
||
]]>
|
||
</programlisting>
|
||
</example><!-- }}} -->
|
||
</para>
|
||
</refsect1><!-- }}} -->
|
||
|
||
</refentry>
|
||
|
||
<!-- Keep this comment at the end of the file
|
||
Local variables:
|
||
mode: sgml
|
||
sgml-omittag:t
|
||
sgml-shorttag:t
|
||
sgml-minimize-attributes:nil
|
||
sgml-always-quote-attributes:t
|
||
sgml-indent-step:1
|
||
sgml-indent-data:t
|
||
indent-tabs-mode:nil
|
||
sgml-parent-document:nil
|
||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||
sgml-exposed-tags:nil
|
||
sgml-local-catalogs:nil
|
||
sgml-local-ecat-files:nil
|
||
End:
|
||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
vim: et tw=78 syn=sgml
|
||
vi: ts=1 sw=1
|
||
-->
|
||
|