From 4e6612e1eb1782f146f60da6f6622e2e072565c5 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 27 Dec 2002 16:49:25 +0000 Subject: [PATCH] Revert sk invasion. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@109179 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/wrappers.xml | 141 ++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 70 deletions(-) diff --git a/appendices/wrappers.xml b/appendices/wrappers.xml index 6d4eedce99..a451f924a9 100644 --- a/appendices/wrappers.xml +++ b/appendices/wrappers.xml @@ -1,19 +1,19 @@ - + - Zoznam Podporovaných Protokolov/Balíčkov + List of Supported Protocols/Wrappers - Následujúce je zoznam rôznych štýlových protokolov URL, ktoré - má PHP vstavané pre použitie s filesystem funkciami ako sú - fopen a copy. - 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 + fopen and copy. + In addition to these wrappers, as of PHP 4.3, you can write + your own wrappers using PHP script and stream_register_wrapper.
- HTTP a HTTPS - PHP 3, PHP 4. https:// od PHP 4.3 + HTTP and HTTPS + PHP 3, PHP 4. https:// since PHP 4.3 http://example.com @@ -22,38 +22,39 @@ https://user:password@example.com - Umožňuje prístup iba na čítanie k súborom/zdrojom cez HTTP 1.0 - použitím metódy HTTP GET. Hlavička Host: sa pošle - s požiadavkou na zaistenie na mene založených virtuálnych hostov. Ak - ste nakonfigurovali reťazec user_agent - použitím vášho ini súboru alebo prúdového kontextu, taktiež sa zahrnie - do požiadavky. + Allows read-only access to files/resources via HTTP 1.0, + using the HTTP GET method. A Host: header is sent with the request + to handle name-based virtual hosts. If you have configured + a user_agent string using + your ini file or the stream context, it will also be included + in the request. - 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. - Prúd umožňuje prístup k telu - zdroja; hlavičky sú uložené v premennej - $http_response_header. - Od PHP 4.3, hlavičky sú dostupné použitím + The stream allows access to the body of + the resource; the headers are stored in the + $http_response_header variable. + Since PHP 4.3, the headers are available using stream_get_meta_data. - 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. - HTTPS podporovalo už PHP 4.3, ak ste - kompilovali s podporou pre OpenSSL. + HTTPS is supported starting from PHP 4.3, if you + have compiled in support for OpenSSL.
- FTP a FTPS - PHP 3, PHP 4. ftps:// od PHP 4.3 + FTP and FTPS + PHP 3, PHP 4. ftps:// since PHP 4.3 ftp://example.com/pub/file.txt @@ -63,37 +64,37 @@ - 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. - 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 - ftp_connect. + 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 ftp_connect. - ftps:// bol predstavený v PHP 4.3. - Je to rovnaké ako s ftp://, - 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. + ftps:// was introduced in PHP 4.3. + It is the same as ftp://, + 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. - FTPS podporovalo už PHP 4.3, ak ste - kompilovali s podporou pre OpenSSL. + FTPS is supported starting from PHP 4.3, if you + have compiled in support for OpenSSL.
- Vstupné/Výstupné prúdy PHP + PHP input/output streams - PHP 3.0.13 a vyššie, php://output - a php://input počínajúc PHP 4.3 + PHP 3.0.13 and up, php://output + and php://input since PHP 4.3 @@ -106,33 +107,33 @@ php://stdin, php://stdout - a php://stderr umožňujú prístup ku - korešpondujúcemu vstupnému alebo výstupnému prúdu PHP procesu. + and php://stderr allow access to + the corresponding input or output stream of the PHP process. - php://output umožňuje zápis do výstupného - mechanizmu zásobníka rovnakým spôsobom ako - print a echo. + php://output allows you to write to the + output buffer mechanism in the same way as + print and echo. - php://input umožňuje čítanie prvotné POST dáta. - Je to menej pamäť zaťažujúca alternatíva k - $HTTP_RAW_POST_DATA a nepotrebuje žiadne - špeciálne &php.ini; direktívy. + php://input allows you to read raw POST data. + It is a less memory intensive alternative to + $HTTP_RAW_POST_DATA and does not need any + special &php.ini; directives. - php://stdin a - php://input sú iba na čítanie, zatiaľčo + php://stdin and + php://input are read-only, whereas php://stdout, - php://stderr a - php://output sú iba na zápis. + php://stderr and + php://output are write-only.
- Prúdy Kompresie - zlib: PHP 4.0.4 - PHP 4.2.3 (iba systémy s fopencookie) - compress.zlib:// a compress.bzip2:// PHP 4.3 a vyššie + Compression Streams + zlib: PHP 4.0.4 - PHP 4.2.3 (systems with fopencookie only) + compress.zlib:// and compress.bzip2:// PHP 4.3 and up zlib: @@ -141,18 +142,18 @@ - zlib: pracuje ako gzopen, až na to, že - prúd sa dá použiť s fread 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 compress.zlib://. + zlib: works like gzopen, except that the + stream can be used with fread and the other + filesystem functions. This is deprecated as of PHP 4.3 due + to ambiguities with filenames containing ':' characters; use + compress.zlib:// instead. - compress.zlib:// a - compress.bzip2:// sú ekvivalentné k - gzopen a bzopen - jednotlivo a fungujú dokonca aj na systémoch, ktoré nepodporujú + compress.zlib:// and + compress.bzip2:// are equivalent to + gzopen and bzopen + respectively, and operate even on systems that do not support fopencookie.