cvs: phpdoc-sk /appendices reserved.xml
| From: | Joseph Drake | Date: | Fri, 06 Sep 2002 23:52:24 +0000 |
| Subject: | cvs: phpdoc-sk /appendices reserved.xml | ||
| Groups: | php.doc.sk | ||
| Request: | Send a blank email to doc-sk+get-42@lists.php.net to get a copy of this message | ||
joseph Fri Sep 6 19:52:24 2002 EDT
Modified files:
/phpdoc-sk/appendices reserved.xml
Log:
still translating
Index: phpdoc-sk/appendices/reserved.xml diff -u phpdoc-sk/appendices/reserved.xml:1.1 phpdoc-sk/appendices/reserved.xml:1.2 --- phpdoc-sk/appendices/reserved.xml:1.1 Thu Sep 5 20:18:41 2002 +++ phpdoc-sk/appendices/reserved.xml Fri Sep 6 19:52:24 2002 @@ -272,15 +272,15 @@ <term>'<varname>PHP_SELF</varname>'</term> <listitem> <simpara> - The filename of the currently executing script, relative to - the document root. For instance, - <varname>$_SERVER['PHP_SELF']</varname> in a script at the - address <filename>http://example.com/test.php/foo.bar</filename> - would be <filename>/test.php/foo.bar</filename>. + Názov súboru práve spracovávaného skriptu, vzta¾ný na koreò + dokumentu. Na príklad, + <varname>$_SERVER['PHP_SELF']</varname> v skripte na + adrese <filename>http://example.com/test.php/foo.bar</filename> + by bol <filename>/test.php/foo.bar</filename>. </simpara> <simpara> - If PHP is running as a command-line processor, this variable - is not available. + Ak PHP be¾í ako procesor príkazového riadku, táto premenná + nie je dostupná. </simpara> </listitem> </varlistentry> @@ -289,10 +289,10 @@ <term>'<varname>argv</varname>'</term> <listitem> <simpara> - Array of arguments passed to the script. When the script is - run on the command line, this gives C-style access to the - command line parameters. When called via the GET method, this - will contain the query string. + Pole argumentov predané skriptu. Keï je skript spustený + v príkazovom riadku, toto dáva C-¹týlom prístup k parametrom + príkazového riadka. Keï sa volá cez metódu GET, bude obsahova» + re»azec dotazu. </simpara> </listitem> </varlistentry> @@ -301,8 +301,8 @@ <term>'<varname>argc</varname>'</term> <listitem> <simpara> - Contains the number of command line parameters passed to the - script (if run on the command line). + Obsahuje poèet parametrov príkazového riadka predaných skriptu + (ak be¾í v príkazovom riadku). </simpara> </listitem> </varlistentry> @@ -311,8 +311,8 @@ <term>'<varname>GATEWAY_INTERFACE</varname>'</term> <listitem> <simpara> - What revision of the CGI specification the server is using; - i.e. '<literal>CGI/1.1</literal>'. + akú revíziu CGI ¹pecifikácie server pou¾íva; + t.j. '<literal>CGI/1.1</literal>'. </simpara> </listitem> </varlistentry> @@ -321,9 +321,9 @@ <term>'<varname>SERVER_NAME</varname>'</term> <listitem> <simpara> - The name of the server host under which the current script is - executing. If the script is running on a virtual host, this - will be the value defined for that virtual host. + Názov hostu servera, pod ktorým sa aktuálny skript spracováva. + Ak skript be¾í na virtuálnom hoste, toto bude hodnota + definovaná pre virtuálny host. </simpara> </listitem> </varlistentry> @@ -332,8 +332,8 @@ <term>'<varname>SERVER_SOFTWARE</varname>'</term> <listitem> <simpara> - Server identification string, given in the headers when - responding to requests. + Identifikaèný re»azec servera, udaný v hlavièkách, keï + odpovedá na po¾iadavky. </simpara> </listitem> </varlistentry> @@ -342,8 +342,8 @@ <term>'<varname>SERVER_PROTOCOL</varname>'</term> <listitem> <simpara> - Name and revision of the information protocol via which the - page was requested; i.e. '<literal>HTTP/1.0</literal>'; + Názov a revízia informaèného protokolu, cez ktorý sa stránka + po¾adovala; t.j. '<literal>HTTP/1.0</literal>'; </simpara> </listitem> </varlistentry> @@ -352,7 +352,7 @@ <term>'<varname>REQUEST_METHOD</varname>'</term> <listitem> <simpara> - Which request method was used to access the page; i.e. '<literal>GET</literal>', + Ktorá metóda po¾iadavky sa pou¾ila na prístu ku stránke; t.j. '<literal>GET</literal>', '<literal>HEAD</literal>', '<literal>POST</literal>', '<literal>PUT</literal>'. </simpara> </listitem> @@ -362,7 +362,7 @@ <term>'<varname>QUERY_STRING</varname>'</term> <listitem> <simpara> - The query string, if any, via which the page was accessed. + Re»azec dotazu, ak je, cez ktorý sa stránka sprístupnila. </simpara> </listitem> </varlistentry> @@ -371,8 +371,8 @@ <term>'<varname>DOCUMENT_ROOT</varname>'</term> <listitem> <simpara> - The document root directory under which the current script is - executing, as defined in the server's configuration file. + Koreòový adresár dokumentu, pod ktorým sa skript spracováva, + ako je definované v konfiguraènom súbore servera. </simpara> </listitem> </varlistentry> @@ -381,8 +381,8 @@ <term>'<varname>HTTP_ACCEPT</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept:</literal> header from the - current request, if there is one. + Obsah hlavièky <literal>Accept:</literal> z aktuálnej + po¾iadavky, ak nejaká je. </simpara> </listitem> </varlistentry> @@ -391,8 +391,8 @@ <term>'<varname>HTTP_ACCEPT_CHARSET</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Charset:</literal> header - from the current request, if there is one. Example: + Obsah hlavièky <literal>Accept-Charset:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>iso-8859-1,*,utf-8</literal>'. </simpara> </listitem> @@ -402,8 +402,8 @@ <term>'<varname>HTTP_ACCEPT_ENCODING</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Encoding:</literal> header - from the current request, if there is one. Example: '<literal>gzip</literal>'. + Obsah hlavièky <literal>Accept-Encoding:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>gzip</literal>'. </simpara> </listitem> </varlistentry> @@ -412,8 +412,8 @@ <term>'<varname>HTTP_ACCEPT_LANGUAGE</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Language:</literal> header - from the current request, if there is one. Example: '<literal>en</literal>'. + Obsah hlavièky <literal>Accept-Language:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>en</literal>'. </simpara> </listitem> </varlistentry> @@ -422,8 +422,8 @@ <term>'<varname>HTTP_CONNECTION</varname>'</term> <listitem> <simpara> - Contents of the <literal>Connection:</literal> header from - the current request, if there is one. Example: '<literal>Keep-Alive</literal>'. + Obsah hlavièky <literal>Connection:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>Keep-Alive</literal>'. </simpara> </listitem> </varlistentry> @@ -432,8 +432,8 @@ <term>'<varname>HTTP_HOST</varname>'</term> <listitem> <simpara> - Contents of the <literal>Host:</literal> header from the - current request, if there is one. + Obsah hlavièky <literal>Host:</literal> z aktuálnej + po¾iadavky, ak nejaká je. </simpara> </listitem> </varlistentry> @@ -442,11 +442,11 @@ <term>'<varname>HTTP_REFERER</varname>'</term> <listitem> <simpara> - The address of the page (if any) which referred the user - agent to the current page. This is set by the user agent. Not - all user agents will set this, and some provide the ability - to modify <varname>HTTP_REFERER</varname> as a feature. In - short, it cannot really be trusted. + Adresa stránky (ak je), ktorá odkazovala u¾ívateµského + agenta na aktuálnu stránku. Toto nastaví u¾ívateµský agent. + Nie v¹etky u¾ívateµské agenty toto nastavia a niektoré poskytujú + mo¾nos» modifikova» <varname>HTTP_REFERER</varname> ako vlastnos». + V skratke, nedá sa tomu naozaj veri». </simpara> </listitem> </varlistentry> @@ -455,14 +455,13 @@ <term>'<varname>HTTP_USER_AGENT</varname>'</term> <listitem> <simpara> - Contents of the <literal>User_Agent:</literal> header from - the current request, if there is one. This is a string - denoting the user agent being which is accessing the page. A - typical example is: <computeroutput>Mozilla/4.5 [en] (X11; U; - Linux 2.2.9 i586)</computeroutput>. Among other things, you - can use this value with <function>get_browser</function> to - tailor your page's output to the capabilities of the user - agent. + Obsah hlavièky <literal>User_Agent:</literal> z aktuálnej + po¾iadavky, ak nejaká je. Je to re»azec zaznamenavajúci + existenciu u¾ívateµského agenta, ktorý sprístupòuje stránku. + Typický príklad je: <computeroutput>Mozilla/4.5 [en] (X11; U; + Linux 2.2.9 i586)</computeroutput>. Medzi iným, túto hodnotu + mô¾ete pou¾i» s <function>get_browser</function> k prispôsobeniu + výstupu va¹ej stránky schopnostiam u¾ívateµského agenta. </simpara> </listitem> </varlistentry> @@ -471,8 +470,7 @@ <term>'<varname>REMOTE_ADDR</varname>'</term> <listitem> <simpara> - The IP address from which the user is viewing the current - page. + IP adresa, z ktorej si u¾ívateµ prezerá aktuálnu stránku. </simpara> </listitem> </varlistentry> @@ -481,8 +479,8 @@ <term>'<varname>REMOTE_PORT</varname>'</term> <listitem> <simpara> - The port being used on the user's machine to communicate with - the web server. + Port pou¾ívaný na komunikáciu s web serverom na poèítaèi + u¾ívateµa. </simpara> </listitem> </varlistentry> @@ -491,7 +489,7 @@ <term>'<varname>SCRIPT_FILENAME</varname>'</term> <listitem> <simpara> - The absolute pathname of the currently executing script. + Absolutná cesta k práve spracovávaného skriptu. </simpara> </listitem> </varlistentry> @@ -500,10 +498,9 @@ <term>'<varname>SERVER_ADMIN</varname>'</term> <listitem> <simpara> - The value given to the SERVER_ADMIN (for Apache) directive in - the web server configuration file. If the script is running - on a virtual host, this will be the value defined for that - virtual host. + Hodnota daná SERVER_ADMIN (pre Apache) direktívu v + konfiguraènom súbore web servera. Ak skript be¾í na virtuálnom + hoste, bude to hodnota definovaná pre tento virtuálny host. </simpara> </listitem> </varlistentry> @@ -512,10 +509,10 @@ <term>'<varname>SERVER_PORT</varname>'</term> <listitem> <simpara> - The port on the server machine being used by the web server - for communication. For default setups, this will be '<literal>80</literal>'; - using SSL, for instance, will change this to whatever your - defined secure HTTP port is. + Port na poèítaèi servera pou¾ívaný web serverom na + komunikáciu. Pre default nastavenie to bude '<literal>80</literal>'; + pou¾itie SSL, na príklad, to zmení na èokoµvek, èo vá¹ + definovaný bezpeèný HTTP port je. </simpara> </listitem> </varlistentry> @@ -524,8 +521,9 @@ <term>'<varname>SERVER_SIGNATURE</varname>'</term> <listitem> <simpara> - String containing the server version and virtual host name - which are added to server-generated pages, if enabled. + Re»azec obsahujúci verziu servera a názov virtuálneho hostu, + ktoré sa pridajú na na serverom-generované stránky, ak je to + aktivované. </simpara> </listitem> </varlistentry> @@ -534,9 +532,9 @@ <term>'<varname>PATH_TRANSLATED</varname>'</term> <listitem> <simpara> - Filesystem- (not document root-) based path to the current - script, after the server has done any virtual-to-real - mapping. + Cesta súborového systému (nie koreòového dokumentu) + k aktuálnemu skriptu, po tom, èo server urobil nejaké + virtual-to-real mapovanie. </simpara> </listitem> </varlistentry> @@ -545,8 +543,8 @@ <term>'<varname>SCRIPT_NAME</varname>'</term> <listitem> <simpara> - Contains the current script's path. This is useful for pages - which need to point to themselves. + Obsahuje cestu k aktuálnemu skriptu. Je to u¾itoèné + pre stránky, ktoré musia ukazova» samé na seba. </simpara> </listitem> </varlistentry> @@ -555,8 +553,8 @@ <term>'<varname>REQUEST_URI</varname>'</term> <listitem> <simpara> - The URI which was given in order to access this page; for - instance, '<literal>/index.html</literal>'. + URI, ktorá bola daná, aby bol k tejto stránke prístup; + na príklad '<literal>/index.html</literal>'. </simpara> </listitem> </varlistentry> @@ -565,8 +563,9 @@ <term>'<varname>PHP_AUTH_USER</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authentication this - variable is set to the username provided by the user. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP + autentifikácie, táto premenná je nastavená na meno + poskytnuté u¾ívateµom. </simpara> </listitem> </varlistentry> @@ -575,8 +574,9 @@ <term>'<varname>PHP_AUTH_PW</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authentication this - variable is set to the password provided by the user. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP + autentifikácie, táto premenná je nastavená na heslo + poskytnuté u¾ívateµom. </simpara> </listitem> </varlistentry> @@ -585,8 +585,8 @@ <term>'<varname>PHP_AUTH_TYPE</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authenticated this - variable is set to the authentication type. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP autentifiácie, + táto premenná je nastavená na typ autentifikácie. </simpara> </listitem> </varlistentry> @@ -597,54 +597,53 @@ </sect2> <sect2 id="reserved.variables.environment"> - <title>Environment variables: <varname>$_ENV</varname></title> + <title>Enviromentálne premenné: <varname>$_ENV</varname></title> <note> <simpara> - Introduced in 4.1.0. In earlier versions, use + Predstavené v 4.1.0. V skor¹ích verziách pou¾ívajte <varname>$HTTP_ENV_VARS</varname>. </simpara> </note> <simpara> - These variables are imported into PHP's global namespace from the - environment under which the PHP parser is running. Many are - provided by the shell under which PHP is running and different - systems are likely running different kinds of shells, a - definitive list is impossible. Please see your shell's - documentation for a list of defined environment variables. + Tieto premenné su importované do globálnej oblasti mien PHP + z prostredia, pod ktorým be¾í PHP parser. Mnoho je poskytovaných + shellom, pod ktorým be¾í PHP a na rôznych systémoch zaiste + be¾ia rôzne druhy shellov, definitívy zoznam nie je mo¾ný. + Prosím, pozrite si dokumentáciu k vá¹mu shellu o zozname + definovaných enviromentálnych premenných. </simpara> <simpara> - Other environment variables include the CGI variables, placed - there regardless of whether PHP is running as a server module or - CGI processor. + Iné enviromentálne premenné zahàòajú premenné CGI, ktoré sú tam + umiestnené bez ohµadu na to, èi PHP be¾í ako server modul alebo + CGI procesor. </simpara> <simpara> - This is a 'superglobal', or automatic global, variable. This - simply means that it is available in all scopes throughout a - script. You don't need to do a <command>global - $_ENV;</command> to access it within functions or methods, as - you do with <varname>$HTTP_ENV_VARS</varname>. + Toto je 'superglobálna', alebo automatická globálna, premenná. + To jednoducho znamená, ¾e je dostupná vo v¹etkých oblastiach po + celom skripte. Nemusíte pou¾i» <command>global + $_ENV;</command>, aby ste ju sprístupnili vo funkciách a metódach, + ako to robíte s <varname>$HTTP_ENV_VARS</varname>. </simpara> <simpara> - <varname>$HTTP_ENV_VARS</varname> contains the same initial - information, but is not an autoglobal. (Note that - <varname>HTTP_ENV_VARS</varname> and <varname>$_ENV</varname> - are different variables and that PHP handles them as such) + <varname>$HTTP_ENV_VARS</varname> obsahuje rovnaké poèiatoèné + informácie, ale nie autoglobálna. (V¹imnite si, ¾e + <varname>HTTP_ENV_VARS</varname> a <varname>$_ENV</varname> + sú rôzne premenné, a tak ich aj PHP spracováva) </simpara> <simpara> - If the <link - linkend="ini.register-globals">register_globals</link> directive - is set, then these variables will also be made available in the - global scope of the script; i.e., separate from the - <varname>$_ENV</varname> and <varname>$HTTP_ENV_VARS</varname> - arrays. For related information, see the security chapter titled - <link linkend="security.registerglobals">Using Register - Globals</link>. These individual globals are not autoglobals. + Ak je nastavená direktíva <link + linkend="ini.register-globals">register_globals</link>, potom + sa tieto premenné tie¾ sprístupnia v globálnej oblasti skriptu; + t.j., oddelí polia <varname>$_ENV</varname> a <varname>$HTTP_ENV_VARS</varname>. + Súvisiace informácie s pozrite v kapitole bezpeènosti pod titulkom + <link linkend="security.registerglobals">Pou¾ívanie globálov + registra</link>. Tieto individuálne globály nie sú autoglobály. </simpara> </sect2>
Index: phpdoc-sk/appendices/reserved.xml diff -u phpdoc-sk/appendices/reserved.xml:1.1 phpdoc-sk/appendices/reserved.xml:1.2 --- phpdoc-sk/appendices/reserved.xml:1.1 Thu Sep 5 20:18:41 2002 +++ phpdoc-sk/appendices/reserved.xml Fri Sep 6 19:52:24 2002 @@ -272,15 +272,15 @@ <term>'<varname>PHP_SELF</varname>'</term> <listitem> <simpara> - The filename of the currently executing script, relative to - the document root. For instance, - <varname>$_SERVER['PHP_SELF']</varname> in a script at the - address <filename>http://example.com/test.php/foo.bar</filename> - would be <filename>/test.php/foo.bar</filename>. + Názov súboru práve spracovávaného skriptu, vzta¾ný na koreò + dokumentu. Na príklad, + <varname>$_SERVER['PHP_SELF']</varname> v skripte na + adrese <filename>http://example.com/test.php/foo.bar</filename> + by bol <filename>/test.php/foo.bar</filename>. </simpara> <simpara> - If PHP is running as a command-line processor, this variable - is not available. + Ak PHP be¾í ako procesor príkazového riadku, táto premenná + nie je dostupná. </simpara> </listitem> </varlistentry> @@ -289,10 +289,10 @@ <term>'<varname>argv</varname>'</term> <listitem> <simpara> - Array of arguments passed to the script. When the script is - run on the command line, this gives C-style access to the - command line parameters. When called via the GET method, this - will contain the query string. + Pole argumentov predané skriptu. Keï je skript spustený + v príkazovom riadku, toto dáva C-¹týlom prístup k parametrom + príkazového riadka. Keï sa volá cez metódu GET, bude obsahova» + re»azec dotazu. </simpara> </listitem> </varlistentry> @@ -301,8 +301,8 @@ <term>'<varname>argc</varname>'</term> <listitem> <simpara> - Contains the number of command line parameters passed to the - script (if run on the command line). + Obsahuje poèet parametrov príkazového riadka predaných skriptu + (ak be¾í v príkazovom riadku). </simpara> </listitem> </varlistentry> @@ -311,8 +311,8 @@ <term>'<varname>GATEWAY_INTERFACE</varname>'</term> <listitem> <simpara> - What revision of the CGI specification the server is using; - i.e. '<literal>CGI/1.1</literal>'. + akú revíziu CGI ¹pecifikácie server pou¾íva; + t.j. '<literal>CGI/1.1</literal>'. </simpara> </listitem> </varlistentry> @@ -321,9 +321,9 @@ <term>'<varname>SERVER_NAME</varname>'</term> <listitem> <simpara> - The name of the server host under which the current script is - executing. If the script is running on a virtual host, this - will be the value defined for that virtual host. + Názov hostu servera, pod ktorým sa aktuálny skript spracováva. + Ak skript be¾í na virtuálnom hoste, toto bude hodnota + definovaná pre virtuálny host. </simpara> </listitem> </varlistentry> @@ -332,8 +332,8 @@ <term>'<varname>SERVER_SOFTWARE</varname>'</term> <listitem> <simpara> - Server identification string, given in the headers when - responding to requests. + Identifikaèný re»azec servera, udaný v hlavièkách, keï + odpovedá na po¾iadavky. </simpara> </listitem> </varlistentry> @@ -342,8 +342,8 @@ <term>'<varname>SERVER_PROTOCOL</varname>'</term> <listitem> <simpara> - Name and revision of the information protocol via which the - page was requested; i.e. '<literal>HTTP/1.0</literal>'; + Názov a revízia informaèného protokolu, cez ktorý sa stránka + po¾adovala; t.j. '<literal>HTTP/1.0</literal>'; </simpara> </listitem> </varlistentry> @@ -352,7 +352,7 @@ <term>'<varname>REQUEST_METHOD</varname>'</term> <listitem> <simpara> - Which request method was used to access the page; i.e. '<literal>GET</literal>', + Ktorá metóda po¾iadavky sa pou¾ila na prístu ku stránke; t.j. '<literal>GET</literal>', '<literal>HEAD</literal>', '<literal>POST</literal>', '<literal>PUT</literal>'. </simpara> </listitem> @@ -362,7 +362,7 @@ <term>'<varname>QUERY_STRING</varname>'</term> <listitem> <simpara> - The query string, if any, via which the page was accessed. + Re»azec dotazu, ak je, cez ktorý sa stránka sprístupnila. </simpara> </listitem> </varlistentry> @@ -371,8 +371,8 @@ <term>'<varname>DOCUMENT_ROOT</varname>'</term> <listitem> <simpara> - The document root directory under which the current script is - executing, as defined in the server's configuration file. + Koreòový adresár dokumentu, pod ktorým sa skript spracováva, + ako je definované v konfiguraènom súbore servera. </simpara> </listitem> </varlistentry> @@ -381,8 +381,8 @@ <term>'<varname>HTTP_ACCEPT</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept:</literal> header from the - current request, if there is one. + Obsah hlavièky <literal>Accept:</literal> z aktuálnej + po¾iadavky, ak nejaká je. </simpara> </listitem> </varlistentry> @@ -391,8 +391,8 @@ <term>'<varname>HTTP_ACCEPT_CHARSET</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Charset:</literal> header - from the current request, if there is one. Example: + Obsah hlavièky <literal>Accept-Charset:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>iso-8859-1,*,utf-8</literal>'. </simpara> </listitem> @@ -402,8 +402,8 @@ <term>'<varname>HTTP_ACCEPT_ENCODING</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Encoding:</literal> header - from the current request, if there is one. Example: '<literal>gzip</literal>'. + Obsah hlavièky <literal>Accept-Encoding:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>gzip</literal>'. </simpara> </listitem> </varlistentry> @@ -412,8 +412,8 @@ <term>'<varname>HTTP_ACCEPT_LANGUAGE</varname>'</term> <listitem> <simpara> - Contents of the <literal>Accept-Language:</literal> header - from the current request, if there is one. Example: '<literal>en</literal>'. + Obsah hlavièky <literal>Accept-Language:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>en</literal>'. </simpara> </listitem> </varlistentry> @@ -422,8 +422,8 @@ <term>'<varname>HTTP_CONNECTION</varname>'</term> <listitem> <simpara> - Contents of the <literal>Connection:</literal> header from - the current request, if there is one. Example: '<literal>Keep-Alive</literal>'. + Obsah hlavièky <literal>Connection:</literal> + z aktuálnej po¾iadavky, ak nejaká je. Príklad: '<literal>Keep-Alive</literal>'. </simpara> </listitem> </varlistentry> @@ -432,8 +432,8 @@ <term>'<varname>HTTP_HOST</varname>'</term> <listitem> <simpara> - Contents of the <literal>Host:</literal> header from the - current request, if there is one. + Obsah hlavièky <literal>Host:</literal> z aktuálnej + po¾iadavky, ak nejaká je. </simpara> </listitem> </varlistentry> @@ -442,11 +442,11 @@ <term>'<varname>HTTP_REFERER</varname>'</term> <listitem> <simpara> - The address of the page (if any) which referred the user - agent to the current page. This is set by the user agent. Not - all user agents will set this, and some provide the ability - to modify <varname>HTTP_REFERER</varname> as a feature. In - short, it cannot really be trusted. + Adresa stránky (ak je), ktorá odkazovala u¾ívateµského + agenta na aktuálnu stránku. Toto nastaví u¾ívateµský agent. + Nie v¹etky u¾ívateµské agenty toto nastavia a niektoré poskytujú + mo¾nos» modifikova» <varname>HTTP_REFERER</varname> ako vlastnos». + V skratke, nedá sa tomu naozaj veri». </simpara> </listitem> </varlistentry> @@ -455,14 +455,13 @@ <term>'<varname>HTTP_USER_AGENT</varname>'</term> <listitem> <simpara> - Contents of the <literal>User_Agent:</literal> header from - the current request, if there is one. This is a string - denoting the user agent being which is accessing the page. A - typical example is: <computeroutput>Mozilla/4.5 [en] (X11; U; - Linux 2.2.9 i586)</computeroutput>. Among other things, you - can use this value with <function>get_browser</function> to - tailor your page's output to the capabilities of the user - agent. + Obsah hlavièky <literal>User_Agent:</literal> z aktuálnej + po¾iadavky, ak nejaká je. Je to re»azec zaznamenavajúci + existenciu u¾ívateµského agenta, ktorý sprístupòuje stránku. + Typický príklad je: <computeroutput>Mozilla/4.5 [en] (X11; U; + Linux 2.2.9 i586)</computeroutput>. Medzi iným, túto hodnotu + mô¾ete pou¾i» s <function>get_browser</function> k prispôsobeniu + výstupu va¹ej stránky schopnostiam u¾ívateµského agenta. </simpara> </listitem> </varlistentry> @@ -471,8 +470,7 @@ <term>'<varname>REMOTE_ADDR</varname>'</term> <listitem> <simpara> - The IP address from which the user is viewing the current - page. + IP adresa, z ktorej si u¾ívateµ prezerá aktuálnu stránku. </simpara> </listitem> </varlistentry> @@ -481,8 +479,8 @@ <term>'<varname>REMOTE_PORT</varname>'</term> <listitem> <simpara> - The port being used on the user's machine to communicate with - the web server. + Port pou¾ívaný na komunikáciu s web serverom na poèítaèi + u¾ívateµa. </simpara> </listitem> </varlistentry> @@ -491,7 +489,7 @@ <term>'<varname>SCRIPT_FILENAME</varname>'</term> <listitem> <simpara> - The absolute pathname of the currently executing script. + Absolutná cesta k práve spracovávaného skriptu. </simpara> </listitem> </varlistentry> @@ -500,10 +498,9 @@ <term>'<varname>SERVER_ADMIN</varname>'</term> <listitem> <simpara> - The value given to the SERVER_ADMIN (for Apache) directive in - the web server configuration file. If the script is running - on a virtual host, this will be the value defined for that - virtual host. + Hodnota daná SERVER_ADMIN (pre Apache) direktívu v + konfiguraènom súbore web servera. Ak skript be¾í na virtuálnom + hoste, bude to hodnota definovaná pre tento virtuálny host. </simpara> </listitem> </varlistentry> @@ -512,10 +509,10 @@ <term>'<varname>SERVER_PORT</varname>'</term> <listitem> <simpara> - The port on the server machine being used by the web server - for communication. For default setups, this will be '<literal>80</literal>'; - using SSL, for instance, will change this to whatever your - defined secure HTTP port is. + Port na poèítaèi servera pou¾ívaný web serverom na + komunikáciu. Pre default nastavenie to bude '<literal>80</literal>'; + pou¾itie SSL, na príklad, to zmení na èokoµvek, èo vá¹ + definovaný bezpeèný HTTP port je. </simpara> </listitem> </varlistentry> @@ -524,8 +521,9 @@ <term>'<varname>SERVER_SIGNATURE</varname>'</term> <listitem> <simpara> - String containing the server version and virtual host name - which are added to server-generated pages, if enabled. + Re»azec obsahujúci verziu servera a názov virtuálneho hostu, + ktoré sa pridajú na na serverom-generované stránky, ak je to + aktivované. </simpara> </listitem> </varlistentry> @@ -534,9 +532,9 @@ <term>'<varname>PATH_TRANSLATED</varname>'</term> <listitem> <simpara> - Filesystem- (not document root-) based path to the current - script, after the server has done any virtual-to-real - mapping. + Cesta súborového systému (nie koreòového dokumentu) + k aktuálnemu skriptu, po tom, èo server urobil nejaké + virtual-to-real mapovanie. </simpara> </listitem> </varlistentry> @@ -545,8 +543,8 @@ <term>'<varname>SCRIPT_NAME</varname>'</term> <listitem> <simpara> - Contains the current script's path. This is useful for pages - which need to point to themselves. + Obsahuje cestu k aktuálnemu skriptu. Je to u¾itoèné + pre stránky, ktoré musia ukazova» samé na seba. </simpara> </listitem> </varlistentry> @@ -555,8 +553,8 @@ <term>'<varname>REQUEST_URI</varname>'</term> <listitem> <simpara> - The URI which was given in order to access this page; for - instance, '<literal>/index.html</literal>'. + URI, ktorá bola daná, aby bol k tejto stránke prístup; + na príklad '<literal>/index.html</literal>'. </simpara> </listitem> </varlistentry> @@ -565,8 +563,9 @@ <term>'<varname>PHP_AUTH_USER</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authentication this - variable is set to the username provided by the user. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP + autentifikácie, táto premenná je nastavená na meno + poskytnuté u¾ívateµom. </simpara> </listitem> </varlistentry> @@ -575,8 +574,9 @@ <term>'<varname>PHP_AUTH_PW</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authentication this - variable is set to the password provided by the user. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP + autentifikácie, táto premenná je nastavená na heslo + poskytnuté u¾ívateµom. </simpara> </listitem> </varlistentry> @@ -585,8 +585,8 @@ <term>'<varname>PHP_AUTH_TYPE</varname>'</term> <listitem> <simpara> - When running under Apache as module doing HTTP authenticated this - variable is set to the authentication type. + Keï be¾íte pod Apache ako modulom vykonávajúcim HTTP autentifiácie, + táto premenná je nastavená na typ autentifikácie. </simpara> </listitem> </varlistentry> @@ -597,54 +597,53 @@ </sect2> <sect2 id="reserved.variables.environment"> - <title>Environment variables: <varname>$_ENV</varname></title> + <title>Enviromentálne premenné: <varname>$_ENV</varname></title> <note> <simpara> - Introduced in 4.1.0. In earlier versions, use + Predstavené v 4.1.0. V skor¹ích verziách pou¾ívajte <varname>$HTTP_ENV_VARS</varname>. </simpara> </note> <simpara> - These variables are imported into PHP's global namespace from the - environment under which the PHP parser is running. Many are - provided by the shell under which PHP is running and different - systems are likely running different kinds of shells, a - definitive list is impossible. Please see your shell's - documentation for a list of defined environment variables. + Tieto premenné su importované do globálnej oblasti mien PHP + z prostredia, pod ktorým be¾í PHP parser. Mnoho je poskytovaných + shellom, pod ktorým be¾í PHP a na rôznych systémoch zaiste + be¾ia rôzne druhy shellov, definitívy zoznam nie je mo¾ný. + Prosím, pozrite si dokumentáciu k vá¹mu shellu o zozname + definovaných enviromentálnych premenných. </simpara> <simpara> - Other environment variables include the CGI variables, placed - there regardless of whether PHP is running as a server module or - CGI processor. + Iné enviromentálne premenné zahàòajú premenné CGI, ktoré sú tam + umiestnené bez ohµadu na to, èi PHP be¾í ako server modul alebo + CGI procesor. </simpara> <simpara> - This is a 'superglobal', or automatic global, variable. This - simply means that it is available in all scopes throughout a - script. You don't need to do a <command>global - $_ENV;</command> to access it within functions or methods, as - you do with <varname>$HTTP_ENV_VARS</varname>. + Toto je 'superglobálna', alebo automatická globálna, premenná. + To jednoducho znamená, ¾e je dostupná vo v¹etkých oblastiach po + celom skripte. Nemusíte pou¾i» <command>global + $_ENV;</command>, aby ste ju sprístupnili vo funkciách a metódach, + ako to robíte s <varname>$HTTP_ENV_VARS</varname>. </simpara> <simpara> - <varname>$HTTP_ENV_VARS</varname> contains the same initial - information, but is not an autoglobal. (Note that - <varname>HTTP_ENV_VARS</varname> and <varname>$_ENV</varname> - are different variables and that PHP handles them as such) + <varname>$HTTP_ENV_VARS</varname> obsahuje rovnaké poèiatoèné + informácie, ale nie autoglobálna. (V¹imnite si, ¾e + <varname>HTTP_ENV_VARS</varname> a <varname>$_ENV</varname> + sú rôzne premenné, a tak ich aj PHP spracováva) </simpara> <simpara> - If the <link - linkend="ini.register-globals">register_globals</link> directive - is set, then these variables will also be made available in the - global scope of the script; i.e., separate from the - <varname>$_ENV</varname> and <varname>$HTTP_ENV_VARS</varname> - arrays. For related information, see the security chapter titled - <link linkend="security.registerglobals">Using Register - Globals</link>. These individual globals are not autoglobals. + Ak je nastavená direktíva <link + linkend="ini.register-globals">register_globals</link>, potom + sa tieto premenné tie¾ sprístupnia v globálnej oblasti skriptu; + t.j., oddelí polia <varname>$_ENV</varname> a <varname>$HTTP_ENV_VARS</varname>. + Súvisiace informácie s pozrite v kapitole bezpeènosti pod titulkom + <link linkend="security.registerglobals">Pou¾ívanie globálov + registra</link>. Tieto individuálne globály nie sú autoglobály. </simpara> </sect2>