mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Revert sk invasion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@109179 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2ae372734d
commit
4e6612e1eb
1 changed files with 71 additions and 70 deletions
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- EN-Revision: 1.8 Maintainer: joseph Status: ready -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<appendix id="wrappers">
|
||||
<title>Zoznam Podporovaných Protokolov/Balíčkov</title>
|
||||
<title>List of Supported Protocols/Wrappers</title>
|
||||
<para>
|
||||
Následujúce je zoznam rôznych štýlových protokolov URL, ktoré
|
||||
má PHP vstavané pre použitie s filesystem funkciami ako sú
|
||||
<function>fopen</function> a <function>copy</function>.
|
||||
Okrem týchto balíčkov (wrappers), ako aj tých v PHP 4.3, si
|
||||
môžte napísať svoje vlastné balíčky s použitím PHP skriptu a
|
||||
The following is a list of the various URL style protocols that
|
||||
PHP has built-in for use with the filesystem functions such as
|
||||
<function>fopen</function> and <function>copy</function>.
|
||||
In addition to these wrappers, as of PHP 4.3, you can write
|
||||
your own wrappers using PHP script and
|
||||
<function>stream_register_wrapper</function>.
|
||||
</para>
|
||||
|
||||
<section id="wrappers.http">
|
||||
<title>HTTP a HTTPS</title>
|
||||
<simpara>PHP 3, PHP 4. <filename>https://</filename> od PHP 4.3</simpara>
|
||||
<title>HTTP and HTTPS</title>
|
||||
<simpara>PHP 3, PHP 4. <filename>https://</filename> since PHP 4.3</simpara>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><simpara><filename>http://example.com</filename></simpara></listitem>
|
||||
|
@ -22,38 +22,39 @@
|
|||
<listitem><simpara><filename>https://user:password@example.com</filename></simpara></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<simpara>Umožňuje prístup iba na čítanie k súborom/zdrojom cez HTTP 1.0
|
||||
použitím metódy HTTP GET. Hlavička <literal>Host:</literal> sa pošle
|
||||
s požiadavkou na zaistenie na mene založených virtuálnych hostov. Ak
|
||||
ste nakonfigurovali reťazec <link linkend="ini.user-agent">user_agent</link>
|
||||
použitím vášho ini súboru alebo prúdového kontextu, taktiež sa zahrnie
|
||||
do požiadavky.
|
||||
<simpara>Allows read-only access to files/resources via HTTP 1.0,
|
||||
using the HTTP GET method. A <literal>Host:</literal> header is sent with the request
|
||||
to handle name-based virtual hosts. If you have configured
|
||||
a <link linkend="ini.user-agent">user_agent</link> string using
|
||||
your ini file or the stream context, it will also be included
|
||||
in the request.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Uz PHP 4.0.5 podporuje presmerovania; ak používate predchádzajúce
|
||||
verzie, budete musieť zahrnúť vlečné lomítka do svojich URL adries.
|
||||
Redirects have been supported since PHP 4.0.5; if you are using
|
||||
an earlier version you will need to include trailing slashes in
|
||||
your URLs.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Prúd umožňuje prístup k <emphasis>telu</emphasis>
|
||||
zdroja; hlavičky sú uložené v premennej
|
||||
<varname>$http_response_header</varname>.
|
||||
Od PHP 4.3, hlavičky sú dostupné použitím
|
||||
The stream allows access to the <emphasis>body</emphasis> of
|
||||
the resource; the headers are stored in the
|
||||
<varname>$http_response_header</varname> variable.
|
||||
Since PHP 4.3, the headers are available using
|
||||
<function>stream_get_meta_data</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Pripojenia cez HTTP sú iba na čítanie; nemôžete zapisovať dáta
|
||||
alebo kopírovať súbory do HTTP zdroja.
|
||||
HTTP connections are read-only; you cannot write data or copy
|
||||
files to an HTTP resource.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>HTTPS podporovalo už PHP 4.3, ak ste
|
||||
kompilovali s podporou pre OpenSSL.
|
||||
<simpara>HTTPS is supported starting from PHP 4.3, if you
|
||||
have compiled in support for OpenSSL.
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
<section id="wrappers.ftp">
|
||||
<title>FTP a FTPS</title>
|
||||
<simpara>PHP 3, PHP 4. <filename>ftps://</filename> od PHP 4.3</simpara>
|
||||
<title>FTP and FTPS</title>
|
||||
<simpara>PHP 3, PHP 4. <filename>ftps://</filename> since PHP 4.3</simpara>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><simpara><filename>ftp://example.com/pub/file.txt</filename></simpara></listitem>
|
||||
|
@ -63,37 +64,37 @@
|
|||
</itemizedlist>
|
||||
|
||||
<simpara>
|
||||
Umožňuje prístup na čítanie k existujúcim súborom a tvorbu
|
||||
nových cez FTP. Ak server nepodporuje pasívny mód ftp, spojenie
|
||||
zlyhá.
|
||||
Allows read access to existing files and creation of new files
|
||||
via FTP. If the server does not support passive mode ftp, the
|
||||
connection will fail.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Môžte otvárať súbory buď na čítanie alebo zápis, ale nie oboje
|
||||
zároveň. Ak už vzdialený súbor existuje na ftp serveri
|
||||
a pokúšate sa ho otvoriť na zapisovanie, spojenie zlyhá. Ak
|
||||
potrebujete obnoviť existujúci súbor cez ftp, použite
|
||||
<function>ftp_connect</function>.
|
||||
You can open files for either reading or writing, but not both
|
||||
simultaneously. If the remote file already exists on the ftp
|
||||
server and you attempt to open it for writing, the connection
|
||||
will fail. If you need to update existing files over ftp,
|
||||
use <function>ftp_connect</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<filename>ftps://</filename> bol predstavený v PHP 4.3.
|
||||
Je to rovnaké ako s <filename>ftp://</filename>,
|
||||
ale pokúša sa vyhľadať bezpečné spojenie s ftp serverom. Ak server
|
||||
nepodporuje SSL, potom sa spojenie navráti k regulérnemu
|
||||
kryptovanému ftp.
|
||||
<filename>ftps://</filename> was introduced in PHP 4.3.
|
||||
It is the same as <filename>ftp://</filename>,
|
||||
but attempts to negotiate a secure connection with the ftp server.
|
||||
If the server does not support SSL, then the connection falls back
|
||||
to regular unencrypted ftp.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>FTPS podporovalo už PHP 4.3, ak ste
|
||||
kompilovali s podporou pre OpenSSL.
|
||||
<simpara>FTPS is supported starting from PHP 4.3, if you
|
||||
have compiled in support for OpenSSL.
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="wrappers.php">
|
||||
<title>Vstupné/Výstupné prúdy PHP</title>
|
||||
<title>PHP input/output streams</title>
|
||||
<simpara>
|
||||
PHP 3.0.13 a vyššie, <filename>php://output</filename>
|
||||
a <filename>php://input</filename> počínajúc PHP 4.3
|
||||
PHP 3.0.13 and up, <filename>php://output</filename>
|
||||
and <filename>php://input</filename> since PHP 4.3
|
||||
</simpara>
|
||||
|
||||
<itemizedlist>
|
||||
|
@ -106,33 +107,33 @@
|
|||
|
||||
<simpara>
|
||||
<filename>php://stdin</filename>, <filename>php://stdout</filename>
|
||||
a <filename>php://stderr</filename> umožňujú prístup ku
|
||||
korešpondujúcemu vstupnému alebo výstupnému prúdu PHP procesu.
|
||||
and <filename>php://stderr</filename> allow access to
|
||||
the corresponding input or output stream of the PHP process.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<filename>php://output</filename> umožňuje zápis do výstupného
|
||||
mechanizmu zásobníka rovnakým spôsobom ako
|
||||
<function>print</function> a <function>echo</function>.
|
||||
<filename>php://output</filename> allows you to write to the
|
||||
output buffer mechanism in the same way as
|
||||
<function>print</function> and <function>echo</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<filename>php://input</filename> umožňuje čítanie prvotné POST dáta.
|
||||
Je to menej pamäť zaťažujúca alternatíva k
|
||||
<varname>$HTTP_RAW_POST_DATA</varname> a nepotrebuje žiadne
|
||||
špeciálne &php.ini; direktívy.
|
||||
<filename>php://input</filename> allows you to read raw POST data.
|
||||
It is a less memory intensive alternative to
|
||||
<varname>$HTTP_RAW_POST_DATA</varname> and does not need any
|
||||
special &php.ini; directives.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<filename>php://stdin</filename> a
|
||||
<filename>php://input</filename> sú iba na čítanie, zatiaľčo
|
||||
<filename>php://stdin</filename> and
|
||||
<filename>php://input</filename> are read-only, whereas
|
||||
<filename>php://stdout</filename>,
|
||||
<filename>php://stderr</filename> a
|
||||
<filename>php://output</filename> sú iba na zápis.
|
||||
<filename>php://stderr</filename> and
|
||||
<filename>php://output</filename> are write-only.
|
||||
</simpara>
|
||||
</section>
|
||||
|
||||
<section id="wrappers.compression">
|
||||
<title>Prúdy Kompresie</title>
|
||||
<simpara><filename>zlib:</filename> PHP 4.0.4 - PHP 4.2.3 (iba systémy s fopencookie)</simpara>
|
||||
<simpara><filename>compress.zlib://</filename> a <filename>compress.bzip2://</filename> PHP 4.3 a vyššie</simpara>
|
||||
<title>Compression Streams</title>
|
||||
<simpara><filename>zlib:</filename> PHP 4.0.4 - PHP 4.2.3 (systems with fopencookie only)</simpara>
|
||||
<simpara><filename>compress.zlib://</filename> and <filename>compress.bzip2://</filename> PHP 4.3 and up</simpara>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><simpara><filename>zlib:</filename></simpara></listitem>
|
||||
|
@ -141,18 +142,18 @@
|
|||
</itemizedlist>
|
||||
|
||||
<simpara>
|
||||
<filename>zlib:</filename> pracuje ako <function>gzopen</function>, až na to, že
|
||||
prúd sa dá použiť s <function>fread</function> a inými
|
||||
filesystem funkciami. Nie je to schvaľované ako to nie je aj v PHP 4.3
|
||||
kvôli nejednoznačnosti s názvami súborov obsahujúcich znaky ':'; radšej
|
||||
používajte <filename>compress.zlib://</filename>.
|
||||
<filename>zlib:</filename> works like <function>gzopen</function>, except that the
|
||||
stream can be used with <function>fread</function> and the other
|
||||
filesystem functions. This is deprecated as of PHP 4.3 due
|
||||
to ambiguities with filenames containing ':' characters; use
|
||||
<filename>compress.zlib://</filename> instead.
|
||||
</simpara>
|
||||
|
||||
<simpara>
|
||||
<filename>compress.zlib://</filename> a
|
||||
<filename>compress.bzip2://</filename> sú ekvivalentné k
|
||||
<function>gzopen</function> a <function>bzopen</function>
|
||||
jednotlivo a fungujú dokonca aj na systémoch, ktoré nepodporujú
|
||||
<filename>compress.zlib://</filename> and
|
||||
<filename>compress.bzip2://</filename> are equivalent to
|
||||
<function>gzopen</function> and <function>bzopen</function>
|
||||
respectively, and operate even on systems that do not support
|
||||
fopencookie.
|
||||
</simpara>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue