[PHP-DOC] cvs: phpdoc /en/install/macos client.xml index.xml packages.xml server.xml
bagileviWed Aug 18 11:33:13 2004 EDT Modified files: /phpdoc/en/install/macosclient.xml index.xml packages.xml server.xml Log: translate http://cvs.php.net/diff.php/phpdoc/en/install/macos/client.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/install/macos/client.xml diff -u phpdoc/en/install/macos/client.xml:1.4 phpdoc/en/install/macos/client.xml:1.5 --- phpdoc/en/install/macos/client.xml:1.4 Fri Jun 4 06:30:07 2004 +++ phpdoc/en/install/macos/client.xml Wed Aug 18 11:33:13 2004 @@ -1,79 +1,83 @@ -?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.4 Maintainer: bagilevi Status: ready -- +!-- CREDITS: goba,gerzson -- sect1 id=install.macosx.client - titleCompiling for MacOS X Client/title + titleFordítás MacOS X kliensre/title !-- TODO: verify these instructions (the wget URL below does not seem to work for me) Goba - June 04. 2004. -- simpara - The following instructions will help you install a PHP module for the Apache - web server included in MacOS X. This version includes support for the MySQL - and PostgreSQL databases. These instructions are graciously provided by - ulink url=url.macosx;Marc Liyanage/ulink. + A következõ útmutató segítségedre lesz abban, hogy a PHP-t modulként + telepítsd a MacOS X-ben jelenlévõ Apache webszerverhez. Ez a verzió + támogatja a MySQL és a PostgreSQL adatbáziskezelõ rendszereket. + Ezeket a tippeket ulink url=url.macosx;Marc Liyanage/ulink + adta szívesen közre.. /simpara warning para -Be careful when you do this, you could screw up your Apache web server! +Légy körültekintõ az alábbiakban, mert tönkreteheted az Apache szerveredet! /para /warning para - Do this to install: + Telepítéshez az alábbiakat kell tenni: orderedlist listitem simpara - Open a terminal window. + Nyiss egy terminál ablakot. /simpara /listitem listitem simpara - Type + Írd be: userinputwget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz/userinput, - wait for the download to finish. + és várd meg, amíg letöltõdik. /simpara /listitem listitem simpara - Type userinputgunzip libphp4.so.gz/userinput. + Írd be: userinputgunzip libphp4.so.gz/userinput. /simpara /listitem listitem simpara - Type userinputsudo apxs -i -a -n php4 libphp4.so/userinput + Írd be: userinputsudo apxs -i -a -n php4 libphp4.so/userinput /simpara /listitem listitem para - Now type userinputsudo open -a TextEdit /etc/httpd/httpd.conf/userinput. - TextEdit will open with the web server configuration file. Locate these - two lines towards the end of the file: (Use the Find command) + Most írd be, hogy: userinputsudo open -a TextEdit + /etc/httpd/httpd.conf/userinput. + TextEdit megnyitja a webszerver konfigurációs fájlját. Keresd meg a + következõ két sort a fájl vége felé (használd a Find parancsot): programlisting role=apache ![CDATA[ #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps ]] /programlisting - Remove the two hash marks (literal#/literal), then save the file and - quit TextEdit. + Töröld ki a két hashmark-ot (literal#/literal), és ezután mentsd + el a fájlt, lépj ki a TextEdit-bõl. /para /listitem listitem simpara - Finally, type userinputsudo apachectl graceful/userinput to restart - the web server. + Végül írd be: userinputsudo apachectl graceful/userinput hogy + újrainduljon a webszerver. /simpara /listitem /orderedlist /para para - PHP should now be up and running. You can test it by dropping a file into - your filename class=directorySites/filename folder which is called - filenametest.php/filename. Into that file, write this line: + Mostantól a PHP-nak futni kell. Ezt ellenõrizheted, ha a + filename class=directorySites/filename könyvtáradba bemásolod a + filenametest.php/filename fájlt, amiben nincs más csak ez a sor: literallt;?php phpinfo() ?gt;/literal. /para para - Now open up literal127.0.0.1/~your_username/test.php/literal in your web - browser. You should see a status table with information about the PHP module. + Most nyisd meg a literal127.0.0.1/~a_sajat_userneved/test.php/literal + címen levõ oldalt a webböngészõdben. A PHP modul információs táblázatait + kell látnod ezen az oldalon. /para /sect1 http://cvs.php.net/diff.php/phpdoc/en/install/macos/index.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/install/macos/index.xml diff -u phpdoc/en/install/macos/index.xml:1.5 phpdoc/en/install/macos/index.xml:1.6 --- phpdoc/en/install/macos/index.xml:1.5 Sat Jun 5 16:47:47 2004 +++
[PHP-DOC] cvs: phpdoc /en/install/macos client.xml index.xml packages.xml server.xml
bagileviWed Aug 18 11:56:40 2004 EDT Modified files: /phpdoc/en/install/macosclient.xml index.xml packages.xml server.xml Log: recover mistake http://cvs.php.net/diff.php/phpdoc/en/install/macos/client.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/install/macos/client.xml diff -u phpdoc/en/install/macos/client.xml:1.5 phpdoc/en/install/macos/client.xml:1.6 --- phpdoc/en/install/macos/client.xml:1.5 Wed Aug 18 11:33:13 2004 +++ phpdoc/en/install/macos/client.xml Wed Aug 18 11:56:40 2004 @@ -1,83 +1,79 @@ -?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.4 Maintainer: bagilevi Status: ready -- -!-- CREDITS: goba,gerzson -- +?xml version=1.0 encoding=iso-8859-1? +!-- $Revision: 1.6 $ -- sect1 id=install.macosx.client - titleFordítás MacOS X kliensre/title + titleCompiling for MacOS X Client/title !-- TODO: verify these instructions (the wget URL below does not seem to work for me) Goba - June 04. 2004. -- simpara - A következõ útmutató segítségedre lesz abban, hogy a PHP-t modulként - telepítsd a MacOS X-ben jelenlévõ Apache webszerverhez. Ez a verzió - támogatja a MySQL és a PostgreSQL adatbáziskezelõ rendszereket. - Ezeket a tippeket ulink url=url.macosx;Marc Liyanage/ulink - adta szívesen közre.. + The following instructions will help you install a PHP module for the Apache + web server included in MacOS X. This version includes support for the MySQL + and PostgreSQL databases. These instructions are graciously provided by + ulink url=url.macosx;Marc Liyanage/ulink. /simpara warning para -Légy körültekintõ az alábbiakban, mert tönkreteheted az Apache szerveredet! +Be careful when you do this, you could screw up your Apache web server! /para /warning para - Telepítéshez az alábbiakat kell tenni: + Do this to install: orderedlist listitem simpara - Nyiss egy terminál ablakot. + Open a terminal window. /simpara /listitem listitem simpara - Írd be: + Type userinputwget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz/userinput, - és várd meg, amíg letöltõdik. + wait for the download to finish. /simpara /listitem listitem simpara - Írd be: userinputgunzip libphp4.so.gz/userinput. + Type userinputgunzip libphp4.so.gz/userinput. /simpara /listitem listitem simpara - Írd be: userinputsudo apxs -i -a -n php4 libphp4.so/userinput + Type userinputsudo apxs -i -a -n php4 libphp4.so/userinput /simpara /listitem listitem para - Most írd be, hogy: userinputsudo open -a TextEdit - /etc/httpd/httpd.conf/userinput. - TextEdit megnyitja a webszerver konfigurációs fájlját. Keresd meg a - következõ két sort a fájl vége felé (használd a Find parancsot): + Now type userinputsudo open -a TextEdit /etc/httpd/httpd.conf/userinput. + TextEdit will open with the web server configuration file. Locate these + two lines towards the end of the file: (Use the Find command) programlisting role=apache ![CDATA[ #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps ]] /programlisting - Töröld ki a két hashmark-ot (literal#/literal), és ezután mentsd - el a fájlt, lépj ki a TextEdit-bõl. + Remove the two hash marks (literal#/literal), then save the file and + quit TextEdit. /para /listitem listitem simpara - Végül írd be: userinputsudo apachectl graceful/userinput hogy - újrainduljon a webszerver. + Finally, type userinputsudo apachectl graceful/userinput to restart + the web server. /simpara /listitem /orderedlist /para para - Mostantól a PHP-nak futni kell. Ezt ellenõrizheted, ha a - filename class=directorySites/filename könyvtáradba bemásolod a - filenametest.php/filename fájlt, amiben nincs más csak ez a sor: + PHP should now be up and running. You can test it by dropping a file into + your filename class=directorySites/filename folder which is called + filenametest.php/filename. Into that file, write this line: literallt;?php phpinfo() ?gt;/literal. /para para - Most nyisd meg a literal127.0.0.1/~a_sajat_userneved/test.php/literal - címen levõ oldalt a webböngészõdben. A PHP modul információs táblázatait - kell látnod ezen az oldalon. + Now open up literal127.0.0.1/~your_username/test.php/literal in your web + browser. You should see a status table with information about the PHP module. /para /sect1 http://cvs.php.net/diff.php/phpdoc/en/install/macos/index.xml?r1=1.6r2=1.7ty=u Index: phpdoc/en/install/macos/index.xml diff -u phpdoc/en/install/macos/index.xml:1.6 phpdoc/en/install/macos/index.xml:1.7 --- phpdoc/en/install/macos/index.xml:1.6 Wed Aug 18 11:33:13 2004 +++
[PHP-DOC] cvs: phpdoc /en/language expressions.xml
bagileviThu Aug 5 10:47:49 2004 EDT Modified files: /phpdoc/en/language expressions.xml Log: $a++ is not an expression in PHP/FI 2, but in PHP it is http://cvs.php.net/diff.php/phpdoc/en/language/expressions.xml?r1=1.29r2=1.30ty=u Index: phpdoc/en/language/expressions.xml diff -u phpdoc/en/language/expressions.xml:1.29 phpdoc/en/language/expressions.xml:1.30 --- phpdoc/en/language/expressions.xml:1.29 Wed May 5 16:19:50 2004 +++ phpdoc/en/language/expressions.xml Thu Aug 5 10:47:49 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.29 $ -- +!-- $Revision: 1.30 $ -- chapter id=language.expressions titleExpressions/title simpara @@ -78,7 +78,7 @@ languages may be familiar with the notation of variable++ and variable--. These are link linkend=language.operators.increment increment and decrement operators/link. In -PHP, the statement '$a++' has no value (is not an +PHP/FI 2, the statement '$a++' has no value (is not an expression), and thus you can't assign it or use it in any way. PHP enhances the increment/decrement capabilities by making these expressions as well, like in C. In PHP, like in C, there
[PHP-DOC] cvs: phpdoc /en/language references.xml
bagileviThu Aug 5 11:05:59 2004 EDT Modified files: /phpdoc/en/language references.xml Log: fixed example: referencing globals http://cvs.php.net/diff.php/phpdoc/en/language/references.xml?r1=1.31r2=1.32ty=u Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.31 phpdoc/en/language/references.xml:1.32 --- phpdoc/en/language/references.xml:1.31 Mon Jul 26 16:53:56 2004 +++ phpdoc/en/language/references.xml Thu Aug 5 11:05:59 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.31 $ -- +!-- $Revision: 1.32 $ -- chapter id=language.references titleReferences Explained/title @@ -98,9 +98,9 @@ { global $var1, $var2; if (!$use_globals) { -$var1 = $var2; // visible only inside the function +$var2 = $var1; // visible only inside the function } else { -$GLOBALS[var1] = $var2; // visible also in global context +$GLOBALS[var2] = $var1; // visible also in global context } }