cvs: phpdoc-hu / bookinfo.xml /docweb main.ent /reference/dotnet .cvsignore reference.xml /reference/dotnet/functions dotnet-load.xml /reference/filesystem/functions file-exists.xml fopen.xml is-readable.xml /reference/mysqli/functions mysqli-get-host-info.xml mysqli-info.xml mysqli-kill.xml mysqli-ping.xml mysqli-real-connect.xml mysqli-ssl-set.xml /reference/strings reference.xml
[email protected] ("Lajos Cseppent?")
| Newsgroups | php.doc.hu |
|---|---|
| Message-ID | <cvschappy1174763922@cvsserver> |
chappy Sat Mar 24 19:18:42 2007 UTC
Added files:
/phpdoc-hu/reference/dotnet .cvsignore reference.xml
/phpdoc-hu/reference/dotnet/functions dotnet-load.xml
/phpdoc-hu/reference/mysqli/functions mysqli-get-host-info.xml
mysqli-info.xml
mysqli-kill.xml
mysqli-ping.xml
mysqli-real-connect.xml
mysqli-ssl-set.xml
Modified files:
/phpdoc-hu bookinfo.xml
/phpdoc-hu/docweb main.ent
/phpdoc-hu/reference/filesystem/functions file-exists.xml fopen.xml
is-readable.xml
/phpdoc-hu/reference/strings reference.xml
Log:
sync full
chappy-20070324191842.txt
(text/plain, 48.1 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/bookinfo.xml?r1=1.24&r2=1.25&diff_format=u
Index: phpdoc-hu/bookinfo.xml
diff -u phpdoc-hu/bookinfo.xml:1.24 phpdoc-hu/bookinfo.xml:1.25
--- phpdoc-hu/bookinfo.xml:1.24 Sun Jan 1 15:09:03 2006
+++ phpdoc-hu/bookinfo.xml Sat Mar 24 19:18:41 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.44 Maintainer: cece Status: ready -->
-<!-- CREDITS: goba -->
+<!-- EN-Revision: 1.47 Maintainer: cece Status: ready -->
+<!-- CREDITS: goba, chappy -->
<bookinfo id="bookinfo">
<title>&PHPManual;</title>
@@ -45,19 +45,19 @@
</authorgroup>
<copyright>
- <year>1997-2006</year>
+ <year>1997-2007</year>
<holder>the PHP Documentation Group</holder>
</copyright>
<copyright id="magyar">
- <year>2000-2006</year>
+ <year>2000-2007</year>
<holder>A PHP dokumentáció magyar fordítói</holder>
</copyright>
<legalnotice id="copyright">
<title>Copyright</title>
<simpara>
- Copyright © 1997 - 2006 by the PHP Documentation Group.
+ Copyright © 1997 - 2007 by the PHP Documentation Group.
This material may be distributed only subject to the terms and
conditions set forth in the Open Publication License, v1.0 or
later. A copy of the <link linkend="opl.license">Open Publication
http://cvs.php.net/viewvc.cgi/phpdoc-hu/docweb/main.ent?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/docweb/main.ent
diff -u phpdoc-hu/docweb/main.ent:1.1 phpdoc-hu/docweb/main.ent:1.2
--- phpdoc-hu/docweb/main.ent:1.1 Sun Mar 18 09:15:20 2007
+++ phpdoc-hu/docweb/main.ent Sat Mar 24 19:18:41 2007
@@ -9,15 +9,15 @@
<!ENTITY docweb.common.submit 'Submit'>
<!-- common.linkname -->
-<!ENTITY docweb.common.linkname.subsite-homepage 'Aloldal Kezdõlap'>
-<!ENTITY docweb.common.linkname.request-for-comments 'Kereslet Megjegyzésekre'>
-<!ENTITY docweb.common.linkname.submit-rfc 'Submit RFC'>
+<!ENTITY docweb.common.linkname.subsite-homepage 'Aloldal Kezdõlapja'>
+<!ENTITY docweb.common.linkname.request-for-comments 'Megjegyzések keresése'>
+<!ENTITY docweb.common.linkname.submit-rfc 'RFC Küldése'>
<!ENTITY docweb.common.linkname.rev-check 'Revision Check'>
-<!ENTITY docweb.common.linkname.doc-howto 'Dokumentáció Howto'>
+<!ENTITY docweb.common.linkname.doc-howto 'Dokumentálási Útmutató'>
<!ENTITY docweb.common.linkname.checkent 'URL entitások ellenõrzése'>
-<!ENTITY docweb.common.linkname.orphan-notes 'Orphan Notes'>
-<!ENTITY docweb.common.linkname.translation-info 'Fordítási Információ'>
-<!ENTITY docweb.common.linkname.entities 'Project Entities'>
+<!ENTITY docweb.common.linkname.orphan-notes 'Árva Megjegyzések'>
+<!ENTITY docweb.common.linkname.translation-info 'Fordítási Információk'>
+<!ENTITY docweb.common.linkname.entities 'Project Entitások'>
<!ENTITY docweb.common.linkname.notes-stats 'Megjegyzés Statisztikák'>
<!ENTITY docweb.common.linkname.undoc-functions 'Nem Dokumentált Függvények'>
<!ENTITY docweb.common.linkname.missing-examples 'Hiányzó példák'>
@@ -43,10 +43,10 @@
<!-- common.header -->
<!ENTITY docweb.common.header.welcome 'Welcome!'>
-<!ENTITY docweb.common.header.contact 'Contact'>
-<!ENTITY docweb.common.header.checkent 'URL entities check'>
+<!ENTITY docweb.common.header.contact 'Kapcsolat'>
+<!ENTITY docweb.common.header.checkent 'URL entitások ellenõrzése'>
<!ENTITY docweb.common.header.revcheck 'Revcheck'>
-<!ENTITY docweb.common.header.orphan-notes 'Orphan Notes'>
+<!ENTITY docweb.common.header.orphan-notes 'Árva Megjegyzések'>
<!ENTITY docweb.common.header.currently-focused 'Currently focused on'>
<!ENTITY docweb.common.header.insite-context-nav 'Insite contextual
navigation'>
@@ -60,18 +60,18 @@
<!ENTITY docweb.common.header.entities 'Project Entities'>
<!ENTITY docweb.common.header.undoc-functions 'Undocumented Functions'>
<!ENTITY docweb.common.header.missing-examples 'Missing Examples'>
-<!ENTITY docweb.common.header.login 'Login'>
-<!ENTITY docweb.common.header.users 'User Information'>
-<!ENTITY docweb.common.header.users.edit 'Edit User Information'>
+<!ENTITY docweb.common.header.login 'Belépés'>
+<!ENTITY docweb.common.header.users 'Felhasználói Információk'>
+<!ENTITY docweb.common.header.users.edit 'Felhasználó Információk Szerkesztése'>
<!ENTITY docweb.common.header.stats-not-available '&docweb.common.error.stats-not-available;'>
<!ENTITY docweb.common.header.stats-not-available-yet '&docweb.common.error.stats-not-available-yet;'>
-<!ENTITY docweb.common.header.notes-stats 'Note Management Statistics'>
+<!ENTITY docweb.common.header.notes-stats 'Megjegyzéskezelési Statisztikák'>
<!-- common.footer -->
<!ENTITY docweb.common.footer.copyright 'Copyright'>
<!ENTITY docweb.common.footer.copyright-text 'A PHP Dokumentációs Csapatok -
Minden jog fenntartva'>
-<!ENTITY docweb.common.footer.credits 'Credits'>
+<!ENTITY docweb.common.footer.credits 'Készítõk'>
<!ENTITY docweb.common.footer.contact 'Kapcsolat'>
<!-- common.error -->
@@ -167,7 +167,7 @@
<!ENTITY docweb.checkent.result.http-connect 'Csatlakozási hiba (HTTP)'>
<!ENTITY docweb.checkent.result.http-moved 'Az erõforrást áthelyezték (HTTP)'>
<!ENTITY docweb.checkent.result.http-wrong-header 'Hibás header (HTTP)'>
-<!ENTITY docweb.checkent.result.http-internal-error 'Belsó hiba (HTTP)'>
+<!ENTITY docweb.checkent.result.http-internal-error 'Belsõ hiba (HTTP)'>
<!ENTITY docweb.checkent.result.http-not-found 'Az erõforrás nem található (HTTP)'>
<!-- notes stats -->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/file-exists.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/reference/filesystem/functions/file-exists.xml
diff -u phpdoc-hu/reference/filesystem/functions/file-exists.xml:1.1 phpdoc-hu/reference/filesystem/functions/file-exists.xml:1.2
--- phpdoc-hu/reference/filesystem/functions/file-exists.xml:1.1 Sun Mar 18 09:16:43 2007
+++ phpdoc-hu/reference/filesystem/functions/file-exists.xml Sat Mar 24 19:18:41 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.15 Maintainer: chappy Status: ready -->
+<!-- EN-Revision: 1.16 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.file-exists">
<refnamediv>
@@ -53,6 +53,12 @@
linkend="ini.safe-mode-include-dir">safe_mode_include_dir</link>-ben vannak elhelyezve.
</para>
</warning>
+
+ <note>
+ <para>
+ Az ellenõrzést a valódi UID/GID-et használva futtatja a hatásosabb helyett.
+ </para>
+ </note>
<para>
Lásd még: <function>is_readable</function>, <function>is_writable</function>,
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/fopen.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-hu/reference/filesystem/functions/fopen.xml
diff -u phpdoc-hu/reference/filesystem/functions/fopen.xml:1.2 phpdoc-hu/reference/filesystem/functions/fopen.xml:1.3
--- phpdoc-hu/reference/filesystem/functions/fopen.xml:1.2 Fri Feb 23 20:34:46 2007
+++ phpdoc-hu/reference/filesystem/functions/fopen.xml Sat Mar 24 19:18:41 2007
@@ -55,11 +55,11 @@
¬e.context-support;
<note>
<simpara>
- As of PHP 4.3.2, the default mode is set to binary for all
- platforms that distinguish between binary and text mode. If you are
- having problems with your scripts after upgrading, try using the
- <literal>'t'</literal> flag as a workaround until you have made your
- script more portable as mentioned below.
+ A PHP 4.3.2-tõl az alapértelmezett mód minden platformon
+ bináris, ahol különbség van a bináris és szöveges mód között. Ha problémáid
+ vannak a programmajaiddal a verziónövelés után, addig próbálkozz a
+ <literal>'t'</literal> jelzõvel, amíg a scripted olyan hordozható lesz,
+ mint lejjebb látható.
</simpara>
</note>
<para>
@@ -131,7 +131,7 @@
<constant>E_WARNING</constant> szintû hibát generál. Ha
a fájl nem létezik, megpróbálja létrehozni. Ez a függvény ugyanaz, mintha a
<literal>open(2)</literal> rendszerfüggvényt hívnánk meg
- <literal>O_EXCL|O_CREAT</literal> flagekkel. Ezt az opció csak
+ <literal>O_EXCL|O_CREAT</literal> jelzõkkel. Ezt az opció csak
a PHP 4.3.2-ban és a késõbbi változatokban érhetõ el, és csak helyi fájlok esetében mûküdik.
</entry>
</row>
@@ -154,13 +154,13 @@
</para>
<note>
<para>
- Different operating system families have different line-ending
- conventions. When you write a text file and want to insert a line
- break, you need to use the correct line-ending character(s) for your
- operating system. Unix based systems use <literal>\n</literal> as the
- line ending character, Windows based systems use <literal>\r\n</literal>
- as the line ending characters and Macintosh based systems use
- <literal>\r</literal> as the line ending character.
+ Különbözõ operációsrendszer csaláloknak különbözõ sorvégzõdéseik
+ vannak. Amikor egy szöveges fájlba írsz, és új sort szeretnél hozzáadni,
+ az operációs rendszerednek megfelelõ sorvégzõdési karakter(eket) kell használnod.
+ Unix-alapú rendszerek <literal>\n</literal>-t használnak
+ sorvégi karakterként, Windows-alapú rendszerek <literal>\r\n</literal>-t
+ használnak sortörõ karakterként, és Macintosh-alapú rendszerek
+ <literal>\r</literal>-t.
</para>
<para>
Ha rossz sorvégzõdési karaktereket használsz a fájlok írásakor,
@@ -186,15 +186,15 @@
Minden más esetben a <literal>'b'</literal>-t szükséges használnod.
</para>
<para>
- If you do not specify the 'b' flag when working with binary files, you
- may experience strange problems with your data, including broken image
- files and strange problems with <literal>\r\n</literal> characters.
+ Ha nem adod meg a 'b' jelzõt bináris fájlok feldolgozásánál, akkor
+ érdekes problémáid lehetnek az adattal, beleértve a hibás képfájlokat
+ és érdekes problémákat a <literal>\r\n</literal> karakterekkel.
</para>
</note>
<note>
<para>
- For portability, it is strongly recommended that you always
- use the 'b' flag when opening files with <function>fopen</function>.
+ A hordozhatóság érdekében erõsen ajánlott, hogy mindig használd a
+ 'b' jelzõt a <function>fopen</function> függvénnyel való megnyitásokkor.
</para>
</note>
<note>
@@ -203,7 +203,7 @@
you re-write code that uses or relies upon the <literal>'t'</literal>
mode so that it uses the correct line endings and
<literal>'b'</literal> mode instead.
- </para>
+ </para>
</note>
<para>
Az opcinális harmadik <parameter>use_include_path</parameter> paraméter
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-readable.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-hu/reference/filesystem/functions/is-readable.xml
diff -u phpdoc-hu/reference/filesystem/functions/is-readable.xml:1.2 phpdoc-hu/reference/filesystem/functions/is-readable.xml:1.3
--- phpdoc-hu/reference/filesystem/functions/is-readable.xml:1.2 Sun Feb 4 06:51:47 2007
+++ phpdoc-hu/reference/filesystem/functions/is-readable.xml Sat Mar 24 19:18:41 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
+<!-- EN-Revision: 1.11 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.is-readable">
<refnamediv>
@@ -42,6 +42,12 @@
¬e.clearstatcache;
&tip.fopen-wrapper.stat;
+
+ <note>
+ <para>
+ Az ellenõrzést a valódi UID/GID-et használva futtatja a hatásosabb helyett.
+ </para>
+ </note>
<para>
Lásd még: <function>is_writable</function>,
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/strings/reference.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/reference/strings/reference.xml
diff -u phpdoc-hu/reference/strings/reference.xml:1.1 phpdoc-hu/reference/strings/reference.xml:1.2
--- phpdoc-hu/reference/strings/reference.xml:1.1 Fri Apr 1 21:11:58 2005
+++ phpdoc-hu/reference/strings/reference.xml Sat Mar 24 19:18:42 2007
@@ -1,53 +1,57 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.6 Maintainer: bagilevi Status: ready -->
- <reference id="ref.strings">
- <title>String függvények</title>
- <titleabbrev>String</titleabbrev>
-
- <partintro>
- <section id="strings.intro">
- &reftitle.intro;
- <para>
- Ezek a függvények stringeket kezelnek különféle módokon.
- A reguláris kifejezésekrõl és az <link linkend="ref.url">URL
- függvényekrõl</link> szóló részek a string-kezelés speciálisabb
- területeivel foglalkoznak.
- </para>
- <para>
- A stringek viselkedésével kapcsolatban, különösen a aposztróf,
- macskaköröm, escape szekvenciák használatára tekintettel lásd
- a <link linkend="language.types.string">Stringekrõl szóló
- szakaszt</link>
- a <link linkend="language.types">Típusokról szóló részben</link>.
- </para>
- </section>
-
- <section id="strings.requirements">
- &reftitle.required;
- &no.requirement;
- </section>
-
- <section id="strings.installation">
- &reftitle.install;
- &no.install;
- </section>
-
- &reference.strings.constants;
-
- <section id="strings.seealso">
- &reftitle.seealso;
- <para>
- Mégerõsebb string-kezelõ függvényekért nézd meg a
- <link linkend="ref.regex">POSIX reguláris kifejezés függvényeket</link>
- és a <link linkend="ref.pcre">Perl-szerû reguláris kifejezés
- függvényeket</link>.
- </para>
- </section>
- </partintro>
+<!-- EN-Revision: 1.7 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: chappy -->
+<!-- Reviewed: no -->
+<!-- Purpose: basic.text -->
+<!-- Membership: core -->
+<reference id="ref.strings">
+ <title>String függvények</title>
+ <titleabbrev>String</titleabbrev>
+
+ <partintro>
+ <section id="strings.intro">
+ &reftitle.intro;
+ <para>
+ Ezek a függvények stringeket kezelnek különféle módokon.
+ A reguláris kifejezésekrõl és az <link linkend="ref.url">URL
+ függvényekrõl</link> szóló részek a string-kezelés speciálisabb
+ területeivel foglalkoznak.
+ </para>
+ <para>
+ A stringek viselkedésével kapcsolatban, különösen a aposztróf,
+ macskaköröm, escape szekvenciák használatára tekintettel lásd
+ a <link linkend="language.types.string">Stringekrõl szóló
+ szakaszt</link>
+ a <link linkend="language.types">Típusokról szóló részben</link>.
+ </para>
+ </section>
+
+ <section id="strings.requirements">
+ &reftitle.required;
+ &no.requirement;
+ </section>
+
+ <section id="strings.installation">
+ &reftitle.install;
+ &no.install;
+ </section>
+
+ &reference.strings.constants;
+
+ <section id="strings.seealso">
+ &reftitle.seealso;
+ <para>
+ Mégerõsebb string-kezelõ függvényekért nézd meg a
+ <link linkend="ref.regex">POSIX reguláris kifejezés függvényeket</link>
+ és a <link linkend="ref.pcre">Perl-szerû reguláris kifejezés
+ függvényeket</link>.
+ </para>
+ </section>
+ </partintro>
&reference.strings.functions;
- </reference>
+</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/dotnet/.cvsignore?view=markup&rev=1.1
Index: phpdoc-hu/reference/dotnet/.cvsignore
+++ phpdoc-hu/reference/dotnet/.cvsignore
functions.xml
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/dotnet/reference.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/dotnet/reference.xml
+++ phpdoc-hu/reference/dotnet/reference.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.7 Maintainer: chappy Status: ready -->
<!-- Purpose: utilspec.windows -->
<!-- Membership: bundled -->
<!-- State: experimental -->
<reference id="ref.dotnet">
<title>.NET Függvények</title>
<titleabbrev>.NET</titleabbrev>
<partintro>
<section id="dotnet.intro">
&reftitle.intro;
&warn.experimental;
</section>
</partintro>
&reference.dotnet.functions;
</reference>
<!-- 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:"../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/dotnet/functions/dotnet-load.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/dotnet/functions/dotnet-load.xml
+++ phpdoc-hu/reference/dotnet/functions/dotnet-load.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: chappy Status: ready -->
<refentry id="function.dotnet-load">
<refnamediv>
<refname>dotnet_load</refname>
<refpurpose>Betölt egy .NET modult</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>dotnet_load</methodname>
<methodparam><type>string</type><parameter>assembly_name</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>datatype_name</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>codepage</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
&warn.undocumented.func;
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-get-host-info.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-get-host-info.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-get-host-info.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-get-host-info">
<refnamediv>
<refname>mysqli_get_host_info</refname>
<refname>mysqli->host_info</refname>
<refpurpose>Egy karakterláncot ad vissza, ami képviseli a használt kapcsolat típusát</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Procdural style:</para>
<methodsynopsis>
<type>string</type><methodname>mysqli_get_host_info</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>string</type><varname>host_info</varname></fieldsynopsis>
</classsynopsis>
<para>
A <function>mysqli_get_host_info</function> függvény egy karakterláncot ad vissza, ami
leírja a <parameter>link</parameter> paraméter által képviselt kapcsolat típusát
(a szerver hosztnevét tartalmazva).
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy karakterlánc, ami képviseli a szerver hosztnevét és a kapcsolat típusát.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* hoszt információnak kiírása */
printf("Host info: %s\n", $mysqli->host_info);
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* hoszt információnak kiírása */
printf("Host info: %s\n", mysqli_get_host_info($link));
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Host info: Localhost via UNIX socket
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_get_proto_info</function></member>
</simplelist>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-info.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-info.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-info.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-info">
<refnamediv>
<refname>mysqli_info</refname>
<refname>mysqli->info</refname>
<refpurpose>Információkat nyer ki a legutóbb futtatott lekérdezésrõl</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>string</type><methodname>mysqli_info</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>string</type><varname>info</varname></fieldsynopsis>
</classsynopsis>
<para>
A <function>mysqli_info</function> függvény egy karakterláncot ad vissza, ami
a legutóbb futtatot lekérdezésrõl tartalmaz információkat. E karakterlánc kinézete
lejjebb látható:
</para>
<para>
<table>
<title>Lehetséges mysqli_info visszatérési értékek</title>
<tgroup cols='2'>
<thead>
<row>
<entry>Lekérdezés típusa</entry>
<entry>Példa visszatérési karakterláncra</entry>
</row>
</thead>
<tbody>
<row>
<entry>INSERT INTO...SELECT...</entry>
<entry>Records: 100 Duplicates: 0 Warnings: 0</entry>
</row>
<row>
<entry>INSERT INTO...VALUES (...),(...),(...)</entry>
<entry>Records: 3 Duplicates: 0 Warnings: 0</entry>
</row>
<row>
<entry>LOAD DATA INFILE ...</entry>
<entry>Records: 1 Deleted: 0 Skipped: 0 Warnings: 0</entry>
</row>
<row>
<entry>ALTER TABLE ...</entry>
<entry>Records: 3 Duplicates: 0 Warnings: 0</entry>
</row>
<row>
<entry>UPDATE ...</entry>
<entry>Rows matched: 40 Changed: 40 Warnings: 0</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<note>
<para>
Azokat a lekérdezéstípusok, melyen egyik fenti formátumba se tartoznak bele, nem támogatottak.
Ezekben az esetekben, a <function>mysqli_info</function> függvény egy üres karakterláncot ad vissza.
</para>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy karakterlánc, ami kiegészítõ információkat tartalmaz a legutóbb futtatott lekérdezésrõl.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
$mysqli->query("CREATE TEMPORARY TABLE t1 LIKE City");
/* INSERT INTO .. SELECT */
$mysqli->query("INSERT INTO t1 SELECT * FROM City ORDER BY ID LIMIT 150");
printf("%s\n", $mysqli->info);
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
mysqli_query($link, "CREATE TEMPORARY TABLE t1 LIKE City");
/* INSERT INTO .. SELECT */
mysqli_query($link, "INSERT INTO t1 SELECT * FROM City ORDER BY ID LIMIT 150");
printf("%s\n", mysqli_info($link));
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Records: 150 Duplicates: 0 Warnings: 0
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_affected_rows</function></member>
<member><function>mysqli_warning_count</function></member>
<member><function>mysqli_num_rows</function></member>
</simplelist>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-kill.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-kill.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-kill.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-kill">
<refnamediv>
<refname>mysqli_kill</refname>
<refname>mysqli->kill()</refname>
<refpurpose>Kérést küld a szervernek, hogy állítson le egy MySQL szálat</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_kill</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam><type>int</type><parameter>processid</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>kill</methodname>
<methodparam><type>int</type><parameter>processid</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Ez a függvény kérést küld a szervernek, hogy állítsa le a
<parameter>processid</parameter> paraméterben megadott MySQL szálat. Ezt az értéket a
<function>mysqli_thread_id</function> függvénytõl kell kinyerni.
</para>
<para>
A jelenleg futó kérés megállításához a
<literal>KILL QUERY processid</literal> SQL parancsot kell használni.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szálazonosító meghatározása */
$thread_id = $mysqli->thread_id;
/* kapcsolat leállítása */
$mysqli->kill($thread_id);
/* Ennek hibát kellene eredményeznie */
if (!$mysqli->query("CREATE TABLE myCity LIKE City")) {
printf("Error: %s\n", $mysqli->error);
exit;
}
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szálazonosító meghatározása */
$thread_id = mysqli_thread_id($link);
/* kapcsolat leállítása */
mysqli_kill($link, $thread_id);
/* Ennek hibát kellene eredményeznie */
if (!mysqli_query($link, "CREATE TABLE myCity LIKE City")) {
printf("Error: %s\n", mysqli_error($link));
exit;
}
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Error: MySQL server has gone away
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_thread_id</function></member>
</simplelist>
</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:"../../../../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
-->
<!-- 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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-ping.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-ping.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-ping.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-ping">
<refnamediv>
<refname>mysqli_ping</refname>
<refname>mysqli->ping()</refname>
<refpurpose>Pingeli a szerverkapcsolatot, vagy megpróbál újrakapcsolódni, ha a szerver szétkapcsolt</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_ping</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>ping</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
Ellenõrzi, hogy a szerverhez a kapcsolat mûködik-e. Ha szétkapcsolat, If it has gone
és a globális <literal>mysqli.reconnect</literal> opció engedélyezve van, a
automatikusan megpróbál újracsatlakozni.
</para>
<para>
Ezt a függvényt olyankor érdemes használni, ha a kliens hosszabb ideig tétlen
volt, és így ellenõrizni lehet, hogy bezárta-e a szerver kapcsolatot, és újra lehessen
csatlakozni szükség esetén.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver aktivitásának ellenõrzése */
if ($mysqli->ping()) {
printf ("Our connection is ok!\n");
} else {
printf ("Error: %s\n", $mysqli->error);
}
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver aktivitásának ellenõrzése */
if (mysqli_ping($link)) {
printf ("Our connection is ok!\n");
} else {
printf ("Error: %s\n", mysqli_error($link));
}
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Our connection is ok!
]]>
</screen>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-real-connect.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-real-connect.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-real-connect.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.12 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-real-connect">
<refnamediv>
<refname>mysqli_real_connect</refname>
<refname>mysqli->real_connect()</refname>
<refpurpose>Egy kapcsolatot nyit meg egy MySQL szerverhez</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_real_connect</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>real_connect</methodname>
<methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Egy kapcsolatot hoz létre egy MySQL adatbázismotorhoz.
</para>
<para>
Ez a függvény különbözik a <function>mysqli_connect</function> függvénytõl:
</para>
<itemizedlist>
<listitem>
<para>
a <function>mysqli_real_connect</function> valódi objektumot igényel, amit a
<function>mysqli_init</function> fügvénnyel kell lérehozni
</para>
</listitem>
<listitem>
<para>
a <function>mysqli_options</function> függvénnyel különféle opciók adhatóak
meg a kapcsolat számára
</para>
</listitem>
<listitem>
<para>
van egy <parameter>flags</parameter> paraméter.
</para>
</listitem>
</itemizedlist>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
<varlistentry>
<term><parameter>host</parameter></term>
<listitem>
<para>
Lehet hosztnév vagy IP cím. A &null; vagy
"localhost" értékeket megadva a helyi hosztot
veszi fel. Ha lehetséges, adatcsatornát (pipe) használ a TCP/IP
protokoll helyett.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>username</parameter></term>
<listitem>
<para>
A MySQL felhasználónévT.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>passwd</parameter></term>
<listitem>
<para>
Ha nincs meg van adva, vagy &null;, akkor a MySQL szerver megpróbálja azonosítani a
felhasználót azokkal a felhasználói rekordokkal, melyeknek nem kötelezõ jelszót megadni.
Ez lehetõvé teszi egy felhasználónév többféle használatát különbözõ jogosultságokkal
(attól függ, hogy megadott-e jelszót, vagy nem).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dbname</parameter></term>
<listitem>
<para>
Ha meg van adva, megszabja az alapértelmezett adatbázist, amin majd a
kéréseket végrehajtja.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>port</parameter></term>
<listitem>
<para>
Megszabja a MySQL szerverhez való kapcsolódáskor használni kívánt port számát.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>socket</parameter></term>
<listitem>
<para>
Megadja a használni kívánt socket-et vagy az elnevezett pipe-ot.
</para>
<note>
<para>
A <parameter>socket</parameter> paramétert megadása nem fogja
nyíltan meghatározni a MySQL szerverhez való csatlakozás során használni kívánt
kapcsolat típusát. A MySQL adatbázishoz való kapcsolat
a <parameter>host</parameter> paraméter segítségével
lesz meghatározva.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>flags</parameter></term>
<listitem>
<para>
A <parameter>flags</parameter> paraméterrel különféle
kapcsolatopciók adhatóak meg:
</para>
<table>
<title>Támogatott jelzõk</title>
<tgroup cols='2'>
<thead>
<row>
<entry>Név</entry>
<entry>Leírás</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant>MYSQLI_CLIENT_COMPRESS</constant></entry>
<entry>Tömõrítõ protokoll használata</entry>
</row>
<row>
<entry><constant>MYSQLI_CLIENT_FOUND_ROWS</constant></entry>
<entry>az egyezõ sorok számát adja vissza, nem az érintettekét</entry>
</row>
<row>
<entry><constant>MYSQLI_CLIENT_IGNORE_SPACE</constant></entry>
<entry>Engedélyezi a szóközöket a függvények nevei után. Minden függvénynév fentartott szó lesz.</entry>
</row>
<row>
<entry><constant>MYSQLI_CLIENT_INTERACTIVE</constant></entry>
<entry>
Engedélyezi a <literal>interactive_timeout</literal>-ot (a
<literal>wait_timeout</literal> helyett) a kapcsolat bezárása elõtti inaktivitási idõként
</entry>
</row>
<row>
<entry><constant>MYSQLI_CLIENT_SSL</constant></entry>
<entry>SSL használata (titkosítás)</entry>
</row>
</tbody>
</tgroup>
</table>
<note>
<para>
For security reasons the <constant>MULTI_STATEMENT</constant> flag is
not supported in PHP. If you want to execute multiple queries use the
<function>mysqli_multi_query</function> function.
</para>
</note>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
/* olyan kapcsolatobjektum létrehozás, ami még nem csatlakozott */
$mysqli = mysqli_init();
/* kapcsolat opcióinak megadása */
$mysqli->options(MYSQLI_INIT_COMMAND, "SET AUTOCOMMIT=0");
$mysqli->options(MYSQLI_OPT_CONNECT_TIMEOUT, 5);
/* kapcsolódás a szerverhez */
$mysqli->real_connect('localhost', 'my_user', 'my_password', 'world');
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf ("Connection: %s\n.", $mysqli->host_info);
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
/* olyan kapcsolatobjektum létrehozás, ami még nem csatlakozott */
$link = mysqli_init();
/* kapcsolat opcióinak megadása */
mysqli_options($link, MYSQLI_INIT_COMMAND, "SET AUTOCOMMIT=0");
mysqli_options($link, MYSQLI_OPT_CONNECT_TIMEOUT, 5);
/* kapcsolódás a szerverhez */
mysqli_real_connect($link, 'localhost', 'my_user', 'my_password', 'world');
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf ("Connection: %s\n.", mysqli_get_host_info($link));
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Connection: Localhost via UNIX socket
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_connect</function></member>
<member><function>mysqli_init</function></member>
<member><function>mysqli_options</function></member>
<member><function>mysqli_ssl_set</function></member>
<member><function>mysqli_close</function></member>
</simplelist>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-ssl-set.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-ssl-set.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-ssl-set.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.19 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-ssl-set">
<refnamediv>
<refname>mysqli_ssl_set</refname>
<refname>mysqli->ssl_set()</refname>
<refpurpose>Biztonságos kapcsolatot hoz létre SSL-t használva</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_ssl_set</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>cert</parameter></methodparam>
<methodparam><type>string</type><parameter>ca</parameter></methodparam>
<methodparam><type>string</type><parameter>capath</parameter></methodparam>
<methodparam><type>string</type><parameter>cipher</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>ssl_set</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>cert</parameter></methodparam>
<methodparam><type>string</type><parameter>ca</parameter></methodparam>
<methodparam><type>string</type><parameter>capath</parameter></methodparam>
<methodparam><type>string</type><parameter>cipher</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Used for establishing secure connections using SSL. It must be called
before <function>mysqli_real_connect</function>. This function does
nothing unless OpenSSL support is enabled.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
<varlistentry>
<term><parameter>key</parameter></term>
<listitem>
<para>
A kulcs fájl elérési útvonala.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>cert</parameter></term>
<listitem>
<para>
A tanúsítvány fájl elérési útvonala.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ca</parameter></term>
<listitem>
<para>
A hitelesítõ tanúsítvány fájl elérési útvonala.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>capath</parameter></term>
<listitem>
<para>
Annak a könyvtárnak az elérési útvonala, ami tartalmazza a hitelesített
SSL CA tanúsítványokat PEM formátumban.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>cipher</parameter></term>
<listitem>
<para>
SSL titkosításra használható engedélyezett rejtjelkulcsok listája.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
<para>
Bármely nem használt SSL paraméter megadható &null; értékként.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Ez a függvény mindig &true; értékkel tér vissza. Ha az SSL beállítások
helytelenek, a <function>mysqli_real_connect</function> hibát eredményez
kapcsolódáskor.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_options</function></member>
<member><function>mysqli_real_connect</function></member>
</simplelist>
</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:"../../../../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
-->