cvs: phpdoc-hu /reference/mysql configure.xml constants.xml ini.xml reference.xml /reference/mysql/functions mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-fetch-object.xml mysql-fetch-row.xml mysql-info.xml mysql-list-processes.xml mysql-num-rows.xml mysql-ping.xml mysql-query.xml mysql-real-escape-string.xml mysql-result.xml mysql-stat.xml mysql-thread-id.xml mysql-unbuffered-query.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1174162403@cvsserver>
chappy		Sat Mar 17 20:13:23 2007 UTC

  Modified files:              
    /phpdoc-hu/reference/mysql	configure.xml constants.xml ini.xml 
                              	reference.xml 
    /phpdoc-hu/reference/mysql/functions	mysql-fetch-array.xml 
                                        	mysql-fetch-assoc.xml 
                                        	mysql-fetch-object.xml 
                                        	mysql-fetch-row.xml 
                                        	mysql-info.xml 
                                        	mysql-list-processes.xml 
                                        	mysql-num-rows.xml 
                                        	mysql-ping.xml mysql-query.xml 
                                        	mysql-real-escape-string.xml 
                                        	mysql-result.xml 
                                        	mysql-stat.xml 
                                        	mysql-thread-id.xml 
                                        	mysql-unbuffered-query.xml 
  Log:
  sync
chappy-20070317201323.txt (text/plain, 28.4 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/configure.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-hu/reference/mysql/configure.xml
diff -u phpdoc-hu/reference/mysql/configure.xml:1.4 phpdoc-hu/reference/mysql/configure.xml:1.5
--- phpdoc-hu/reference/mysql/configure.xml:1.4	Thu Apr 14 15:27:12 2005
+++ phpdoc-hu/reference/mysql/configure.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely -->
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <section id="mysql.installation">
  &reftitle.install;
 
@@ -11,9 +12,9 @@
   telepítve van.
  </para>
  <para>
-  Ez a MySQL kiterjesztés nem támogatja a 4.1.0-nál nagyobb verziószámú MySQL 
-  teljes szolgáltatáskészletét. Ehhez használd a 
-  <link linkend="ref.mysqli">MySQLi</link>-t.
+  Habár ez a MySQL kiterjesztés kompatibilis a MySQL 4.1.0-val és az újabb verziókkal, 
+  nem támogatja az extra szolgáltatáskészletet, amit ezek a verziók nyújtanak.
+  Ehhez használd a <link linkend="ref.mysqli">MySQLi</link> kiterjesztést.
  </para>
  <para>
   Ha szeretnéd a mysql és a mysqli kiterjesztéseket együtt használni, akkor
@@ -52,6 +53,8 @@
     Ha szeretnél MySQL támogatást, használd a
     <option role="configure">--with-mysql[=DIR]</option> konfigurációs
     kapcsolót.
+    A <emphasis>fejrészeket (header) és könyvtárakat</emphasis> a
+    <ulink url="&url.mysql;">MySQL</ulink> honlapjáról töltheted le.
    </para>
   </section>
  </section>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/constants.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-hu/reference/mysql/constants.xml
diff -u phpdoc-hu/reference/mysql/constants.xml:1.5 phpdoc-hu/reference/mysql/constants.xml:1.6
--- phpdoc-hu/reference/mysql/constants.xml:1.5	Sun Aug 22 11:24:53 2004
+++ phpdoc-hu/reference/mysql/constants.xml	Sat Mar 17 20:13:22 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.7 Maintainer: kgergely Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: kgergely Status: ready -->
+<!-- Reviewed: no -->
+<!-- CREDITS: chappy -->
 <section id="mysql.constants">
  &reftitle.constants;
  &extension.constants;
@@ -7,7 +9,7 @@
   A PHP 4.3.0-es változata óta lehetõség van a
   <function>mysql_connect</function> és a <function>mysql_pconnect</function>
   függvények számára kliens jelzõket átadni. A következõ konstansok léteznek:
-  <table>
+  <table id="mysql.client-flags">
    <title>MySQL kliens állandók</title>
     <tgroup cols="2">
      <thead>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/ini.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-hu/reference/mysql/ini.xml
diff -u phpdoc-hu/reference/mysql/ini.xml:1.4 phpdoc-hu/reference/mysql/ini.xml:1.5
--- phpdoc-hu/reference/mysql/ini.xml:1.4	Fri Mar 18 01:06:27 2005
+++ phpdoc-hu/reference/mysql/ini.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely -->
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <section id="mysql.configuration">
 &reftitle.runtime;
 &extension.runtime;
@@ -185,7 +186,7 @@
    <listitem>
     <para>
      Az alapértelmezett adatbáziskiszolgáló, ha másképp nincs meghatározva.
-     Nem alkalmazható &safemode;-ban.
+     Nem alkalmazható &sqlsafemode;-ban.
     </para>
    </listitem>
   </varlistentry>
@@ -198,7 +199,7 @@
    <listitem>
     <para>
      Az alapértelmezett felhasználónév, ha más módon nincs meghatározva.
-     Nem alkalmazható &safemode;-ban.
+     Nem alkalmazható &sqlsafemode;-ban.
     </para>
    </listitem>
   </varlistentry>
@@ -211,7 +212,7 @@
    <listitem>
     <para>
      Az alapértelmezett jelszó, ha más módon nincs meghatározva.
-     Nem alkalmazható &safemode;-ban.
+     Nem alkalmazható &sqlsafemode;-ban.
     </para>
    </listitem>
   </varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/reference.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-hu/reference/mysql/reference.xml
diff -u phpdoc-hu/reference/mysql/reference.xml:1.7 phpdoc-hu/reference/mysql/reference.xml:1.8
--- phpdoc-hu/reference/mysql/reference.xml:1.7	Wed Sep 15 17:32:19 2004
+++ phpdoc-hu/reference/mysql/reference.xml	Sat Mar 17 20:13:22 2007
@@ -1,51 +1,66 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.20 Maintainer: kgergely Status: ready -->
-<!-- CREDITS: bagilevi -->
-
- <reference id="ref.mysql">
-  <title>MySQL függvények</title>
-  <titleabbrev>MySQL</titleabbrev>
-  <partintro>
-   <section id="mysql.intro">
-    &reftitle.intro;
-    <para>
-     E függvények segítségével érheted el a MySQL adatbázisokat.
-     A MySQL-rõl további információt a
-     <ulink url="&url.mysql;">&url.mysql;</ulink> címen találsz.
-     A MySQL dokumentációját pedig a <ulink
-     url="&url.mysql.docs;">&url.mysql.docs;</ulink> címen találod.
-   </para>
-  </section>
-  <section id="mysql.requirements">
-   &reftitle.required;
+<!-- EN-Revision: 1.22 Maintainer: kgergely Status: ready -->
+<!-- Reviewed: no -->
+<!-- CREDITS: bagilevi, chappy -->
+<!-- Purpose: database.vendors -->
+<!-- Membership: bundled, external -->
+
+<reference id="ref.mysql">
+ <title>MySQL Függvények</title>
+ <titleabbrev>MySQL</titleabbrev>
+ <partintro>
+  <section id="mysql.intro">
+   &reftitle.intro;
    <para>
-    Ahhoz, hogy ezeket a függvényeket használhasd, a PHP-t MySQL támogatással
-    kell lefordítanod.
+    E függvények segítségével érheted el a MySQL adatbázisokat.
+    A MySQL-rõl további információt a
+    <ulink url="&url.mysql;">&url.mysql;</ulink> címen találsz.
+    A MySQL dokumentációját pedig a <ulink
+    url="&url.mysql.docs;">&url.mysql.docs;</ulink> címen találod.
+  </para>
+ </section>
+ <section id="mysql.requirements">
+  &reftitle.required;
+  <para>
+   Ahhoz, hogy ezeket a függvényeket használhasd, a PHP-t MySQL támogatással
+   kell lefordítanod.
+  </para>
+ </section>
+
+  &reference.mysql.configure;
+
+  &reference.mysql.ini;
+ 
+  <section id="mysql.resources">
+  &reftitle.resources;
+   <para>
+    Kétféle erõforrástípus van a MySQL modulban. Az elsõ egy
+    adatbáziskapcsolatot azonosít, a második pedig egy kérésre adott választ.
    </para>
   </section>
 
-   &reference.mysql.configure;
-
-   &reference.mysql.ini;
+  &reference.mysql.constants;
   
-   <section id="mysql.resources">
-   &reftitle.resources;
+  <section id="mysql.notes">
+  &reftitle.notes;
+   <note>
     <para>
-     Kétféle erõforrástípus van a MySQL modulban. Az elsõ egy
-     adatbáziskapcsolatot azonosít, a második pedig egy kérésre adott választ.
+     A legtöbb MySQL függvény elfogad egy <parameter>link_identifier</parameter> paramétert
+     az utolsó opcinális paraméterként. Ha ez nincs megadva, a legutóbb megnyitott kapcsolatot 
+     használja. Ha ez nem létezik, megpróbál a &php.ini;-ben megadott alapértelmezett paraméterekkel
+     kapcsolódni. Ha ez sikertelen, a függvény &false;-szal tér vissza.
     </para>
-   </section>
-
-   &reference.mysql.constants;
-    
-   <section id="mysql.examples">
-   &reftitle.examples;
-    <para>
-     Az alábbi példa bemutatja, hogyan kell csatlakozni, kéréseket
-     végrehajtani, eredményt kinyomtatni és lecsatlakozni a MySQL szerverrõl.
-     <example>
-      <title>MySQL modul áttekintõ példa</title>
-      <programlisting role="php">
+   </note>
+  </section>
+   
+  <section id="mysql.examples">
+  &reftitle.examples;
+   <para>
+    Az alábbi példa bemutatja, hogyan kell csatlakozni, kéréseket
+    végrehajtani, eredményt kinyomtatni és lecsatlakozni a MySQL szerverrõl.
+    <example>
+     <title>MySQL modul áttekintõ példa</title>
+     <programlisting role="php">
 <![CDATA[
 <?php
 // Csatlakozás, adatbázis kiválasztása 
@@ -76,15 +91,15 @@
 mysql_close($kapcsolat);
 ?>
 ]]>
-      </programlisting>
-     </example>
-    </para>
-   </section>
-  </partintro>
+     </programlisting>
+    </example>
+   </para>
+  </section>
+ </partintro>
 
 &reference.mysql.functions;
 
- </reference>
+</reference>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml:1.9 phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml:1.10
--- phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml:1.9	Sat Apr  2 17:42:58 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-fetch-array.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.22 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.24 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-fetch-array">
  <refnamediv>
   <refname>mysql_fetch_array</refname>
@@ -14,7 +15,8 @@
    <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
   </methodsynopsis>
   <para>
-   Az eredmény következõ sorával tér vissza tömb formájában.
+   Az eredmény következõ sorával tér vissza tömb formájában, 
+   és a belsõ adatpointert a sor elejére állítja.
   </para>
  </refsect1>
 
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml:1.8
--- phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml:1.7	Mon Apr  4 18:59:55 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-fetch-assoc.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.14 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-fetch-assoc">
  <refnamediv>
   <refname>mysql_fetch_assoc</refname>
@@ -13,7 +14,8 @@
    <methodparam><type>resource</type><parameter>result</parameter></methodparam>
   </methodsynopsis>
   <para>
-   Az eredmény következõ sorával, mint asszociatív tömbbel tér vissza.
+   Az eredmény következõ sorával, mint asszociatív tömbbel tér vissza,
+   és a belsõ adatpointert a sor elejére állítja.
   </para>
   <para>
    A <function>mysql_fetch_assoc</function> függvény hívásával ugyanazt
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml:1.8
--- phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml:1.7	Sat Apr  2 17:38:26 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-fetch-object.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-fetch-object">
  <refnamediv>
   <refname>mysql_fetch_object</refname>
@@ -11,10 +12,12 @@
   <methodsynopsis>
    <type>object</type><methodname>mysql_fetch_object</methodname>
    <methodparam><type>resource</type><parameter>result</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>class_name</parameter></methodparam>
+   <methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam>
   </methodsynopsis>
   <para>
    Egy objektummal tér vissza, amelynek tulajdonságai a betöltött sor
-   oszlopait tartalmazzák.
+   oszlopait tartalmazzák, és az adatpointert a sor elejére állítja.
   </para>
 </refsect1>
 
@@ -23,6 +26,24 @@
   <para>
    <variablelist>
     &mysql.result.description;
+    <varlistentry>
+     <term><parameter>class_name</parameter></term>
+      <listitem>
+       <para>
+        A bemutatandó osztály neve, beállítja a tulajdonságokat és visszatér.
+        Ha nincs megadva, egy <classname>stdClass</classname> objektummal tér vissza.
+       </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>params</parameter></term>
+      <listitem>
+       <para>
+        Egy opcinális tömb (<type>array</type>), ami a <parameter>class_name</parameter> objektum 
+        konstruktorának átadandó paramétereket tartalmazza.
+       </para>
+     </listitem>
+    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -41,6 +62,30 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>5.0.0</entry>
+       <entry>
+        Külöbözõ objektumként való visszaadás lehetõségének a hozzáadása.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml:1.6
--- phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml:1.5	Sat Apr  2 17:38:26 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-fetch-row.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-fetch-row">
  <refnamediv>
   <refname>mysql_fetch_row</refname>
@@ -14,7 +15,7 @@
   </methodsynopsis>
   <para>
    Egy számmal indexelt tömbbel tér vissza, ami a betöltött sort
-   tartalmazza.
+   tartalmazza, és a belsõ adatpointert a sor elejére állítja.
   </para>
  </refsect1>
 
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-info.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-info.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-info.xml:1.3 phpdoc-hu/reference/mysql/functions/mysql-info.xml:1.4
--- phpdoc-hu/reference/mysql/functions/mysql-info.xml:1.3	Wed Apr 13 23:46:57 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-info.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> 
-
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> 
+<!-- CREDITS: chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-info">
  <refnamediv>
   <refname>mysql_info</refname>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml:1.3 phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml:1.4
--- phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml:1.3	Thu Apr 14 08:07:45 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-list-processes.xml	Sat Mar 17 20:13:22 2007
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-2"?>
 <!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> 
 
 <refentry id="function.mysql-list-processes">
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml:1.6
--- phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml:1.5	Thu Apr 14 08:07:45 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-num-rows.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-num-rows">
  <refnamediv>
   <refname>mysql_num_rows</refname>
@@ -14,7 +15,7 @@
   </methodsynopsis>
   <para>
    Az eredményhalmazban szereplõ sorok számát adja meg. 
-   A függvény csak SELECT kérésre használható. 
+   A függvény csak SELECT vagy SHOW kérésre használható, amik egy létezõ halmazt adnak vissza. 
    Ha egy INSERT, UPDATE vagy DELETE kérésben érintett sorok
    számát szeretnéd megtudni, használd a
    DELETE, use <function>mysql_affected_rows</function> függvényt!
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-ping.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-ping.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-ping.xml:1.3 phpdoc-hu/reference/mysql/functions/mysql-ping.xml:1.4
--- phpdoc-hu/reference/mysql/functions/mysql-ping.xml:1.3	Thu Apr 14 08:07:45 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-ping.xml	Sat Mar 17 20:13:22 2007
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-2"?>
 <!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready --> 
 
 <refentry id="function.mysql-ping">
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-query.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-query.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-query.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-query.xml:1.7
--- phpdoc-hu/reference/mysql/functions/mysql-query.xml:1.6	Thu Apr 14 08:07:45 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-query.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.17 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-query">
  <refnamediv>
   <refname>mysql_query</refname>
@@ -14,8 +15,9 @@
    <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
   </methodsynopsis>
   <para>
-   A <function>mysql_query</function> függvény egy kérést küld a megadott
-   kapcsolat-azonosítójú (<parameter>link_identifier</parameter>) szerver 
+   A <function>mysql_query</function> függvény egy egyedüli kérést küld (összetett kérés 
+   nem engedélyezett) a <parameter>link_identifier</parameter> 
+   paraméterben megadott szerver 
    aktív adatbázisához.
   </para>
  </refsect1>
@@ -158,6 +160,7 @@
    </simplelist>
   </para>
  </refsect1>
+ 
 </refentry>
 
 <!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml:1.10 phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml:1.11
--- phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml:1.10	Thu May  5 07:36:36 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-real-escape-string.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.24 Maintainer: bagilevi Status: ready --> 
-
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.27 Maintainer: bagilevi Status: ready --> 
+<!-- CREDITS: chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-real-escape-string">
  <refnamediv>
   <refname>mysql_real_escape_string</refname>
@@ -104,7 +105,7 @@
      </para>
     <screen>
 <![CDATA[
-SELECT * FROM felhasznalos WHERE name='aidan' AND jelszo='' OR ''=''
+SELECT * FROM felhasznalos WHERE felhasznalo='aidan' AND password='' OR ''=''
 ]]>
     </screen>
     <para>
@@ -125,30 +126,43 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-// Változó idézõjelezése, hogy biztonságos legyen
-function idezojelezes($ertek)
-{
-    // Stripslashes
-    if (get_magic_quotes_gpc()) {
-        $ertek = stripslashes($ertek);
-    }
-    // Idézõjelezés, ha nem egész érték
-    if (!is_numeric($ertek)) {
-        $ertek = "'" . mysql_real_escape_string($ertek) . "'";
-    }
-    return $ertek;
-}
+if (isset($_POST['product_name']) && isset($_POST['product_description']) && isset($_POST['user_id'])) {
+    // Kapcsolódás
 
-// Kapcsolódás
-$kapcsolat = mysql_connect('localhost', 'mysql_felhasznalo', 'mysql_jelszo')
-    OR die(mysql_error());
+    $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password');
 
-// Biztonságos kérés létrehozása
-$keres = sprintf("SELECT * FROM felhasznalok WHERE felhasznalo=%s AND jelszo=%s",
-            idezojelezes($_POST['felhasznalo']),
-            idezojelezes($_POST['jelszo']));
+    if(!is_resource($link)) {
 
-mysql_query($keres);
+        echo "Failed to connect to the server\n";
+        // ... naplózd a hibát pontosan
+
+    } else {
+        
+        // magic_quotes_gpc eredmények megõrzése a változókon, ha be van kapcsolva
+
+        if(get_magic_quotes_gpc()) {
+            $product_name        = stripslashes($_POST['product_name']);
+            $product_description = stripslashes($_POST['product_description']);
+        } else {
+            $product_name        = $_POST['product_name'];
+            $product_description = $_POST['product_description'];
+        }
+
+        // Biztonságos kérés létrehozása
+        $query = sprintf("INSERT INTO products (`name`, `description`, `user_id`) VALUES ('%s', '%s', '%d')",
+                    mysql_real_escape_string($product_name, $link),
+                    mysql_real_escape_string($product_description, $link),
+                    $_POST['user_id']);
+
+        mysql_query($query, $link);
+
+        if (mysql_affected_rows($link) > 0) {
+            echo "Product inserted\n";
+        }
+    }
+} else {
+    echo "Fill the form properly\n";
+}
 ?>
 ]]>
     </programlisting>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-result.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-result.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-result.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-result.xml:1.6
--- phpdoc-hu/reference/mysql/functions/mysql-result.xml:1.5	Thu Apr 14 15:27:03 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-result.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-result">
  <refnamediv>
   <refname>mysql_result</refname>
@@ -9,7 +10,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>mysql_result</methodname>
+   <type>string</type><methodname>mysql_result</methodname>
    <methodparam><type>resource</type><parameter>result</parameter></methodparam>
    <methodparam><type>int</type><parameter>row</parameter></methodparam>
    <methodparam choice="opt"><type>mixed</type><parameter>field</parameter></methodparam>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-stat.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-stat.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-stat.xml:1.4 phpdoc-hu/reference/mysql/functions/mysql-stat.xml:1.5
--- phpdoc-hu/reference/mysql/functions/mysql-stat.xml:1.4	Thu Apr 14 15:27:03 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-stat.xml	Sat Mar 17 20:13:22 2007
@@ -1,11 +1,13 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready --> 
-
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready --> 
+<!-- CREDITS: chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-stat">
  <refnamediv>
   <refname>mysql_stat</refname>
   <refpurpose>Visszaadja az aktuális rendszer-állapotot</refpurpose>
  </refnamediv>
+ 
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -17,6 +19,7 @@
    szerver-állapotot.
   </para>
  </refsect1>
+ 
  <refsect1 role="parameters">
   &reftitle.parameters;
   <para>
@@ -25,6 +28,7 @@
    </variablelist>
   </para>
  </refsect1>
+ 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
@@ -37,6 +41,7 @@
    a függvény &null;-t ad vissza.
   </para>
  </refsect1>
+ 
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -101,6 +106,7 @@
    </example>
   </para>
  </refsect1>
+ 
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
@@ -110,6 +116,7 @@
    </simplelist>
   </para>
  </refsect1>
+ 
 </refentry>
 
 <!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml:1.3 phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml:1.4
--- phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml:1.3	Thu Apr 14 15:27:03 2005
+++ phpdoc-hu/reference/mysql/functions/mysql-thread-id.xml	Sat Mar 17 20:13:22 2007
@@ -1,5 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> 
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> 
+<!-- CREDITS: chappy -->
+<!-- Reviewed: no -->
 
 <refentry id="function.mysql-thread-id">
  <refnamediv>
@@ -68,8 +70,6 @@
    <simplelist>
     <member><function>mysql_ping</function></member>
     <member><function>mysql_list_processes</function></member>
-    <member><function>mysql_</function></member>
-    <member><function>mysql_</function></member>
    </simplelist>
   </para>
  </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml
diff -u phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml:1.7
--- phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml:1.6	Sat Mar 17 19:23:40 2007
+++ phpdoc-hu/reference/mysql/functions/mysql-unbuffered-query.xml	Sat Mar 17 20:13:22 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: kgergely --> 
+<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready -->
+<!-- CREDITS: kgergely, chappy -->
+<!-- Reviewed: no -->
 <refentry id="function.mysql-unbuffered-query">
  <refnamediv>
   <refname>mysql_unbuffered_query</refname>
@@ -49,13 +50,13 @@
   &reftitle.returnvalues;
   <para>
    SELECT, SHOW, DESCRIBE vagy EXPLAIN utasítások esetén a
-   <function>mysql_query</function> sikeres végrehajtás esetén
+   <function>mysql_unbuffered_query</function> sikeres végrehajtás esetén
    egy <type>erõforrást</type> ad vissza, hiba esetén pedig 
    &false;-ot.
   </para>
   <para>
    Egyéb SQL utasítások esetén, UPDATE, DELETE, DROP, stb,
-   <function>mysql_query</function> sikeres végrehajtás esetén
+   <function>mysql_unbuffered_query</function> sikeres végrehajtás esetén
    &true;-t, hiba esetén pedig &false;-ot.
   </para>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.