[PHP-DOC] cvs: phpdoc /pt_BR/appendices aliases.xml /pt_BR/chapters config.xml intro.xml /pt_BR/language variables.xml
rarruda Sat Apr 20 03:18:20 2002 EDT Modified files: /phpdoc/pt_BR/appendicesaliases.xml /phpdoc/pt_BR/chapters config.xml intro.xml /phpdoc/pt_BR/language variables.xml Log: nslation revision tags added Index: phpdoc/pt_BR/appendices/aliases.xml diff -u phpdoc/pt_BR/appendices/aliases.xml:1.2 phpdoc/pt_BR/appendices/aliases.xml:1.3 --- phpdoc/pt_BR/appendices/aliases.xml:1.2 Wed Dec 12 15:56:25 2001 +++ phpdoc/pt_BR/appendices/aliases.xml Sat Apr 20 03:18:19 2002 -1,5 +1,6 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- EN-Revision: 1.17 Maintainer: rarruda Status: ready -- +!-- $Revision: 1.3 $ -- appendix id=aliases titleLista de sinônimos (aliases)/title para Index: phpdoc/pt_BR/chapters/config.xml diff -u phpdoc/pt_BR/chapters/config.xml:1.8 phpdoc/pt_BR/chapters/config.xml:1.9 --- phpdoc/pt_BR/chapters/config.xml:1.8Wed Dec 12 15:56:26 2001 +++ phpdoc/pt_BR/chapters/config.xmlSat Apr 20 03:18:19 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-1? +!-- EN-Revision: 1.11 Maintainer: afortaleza Status: ready -- chapter id=configuration titleConfiguração/title -1523,4 +1524,4 sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --- \ No newline at end of file +-- Index: phpdoc/pt_BR/chapters/intro.xml diff -u phpdoc/pt_BR/chapters/intro.xml:1.5 phpdoc/pt_BR/chapters/intro.xml:1.6 --- phpdoc/pt_BR/chapters/intro.xml:1.5 Wed Dec 12 15:56:27 2001 +++ phpdoc/pt_BR/chapters/intro.xml Sat Apr 20 03:18:19 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-1? +!-- EN-Revision: 1.2 Maintainer: andre_ae Status: ready -- chapter id=introduction titleIntrodução/title Index: phpdoc/pt_BR/language/variables.xml diff -u phpdoc/pt_BR/language/variables.xml:1.6 phpdoc/pt_BR/language/variables.xml:1.7 --- phpdoc/pt_BR/language/variables.xml:1.6 Wed Dec 12 15:56:37 2001 +++ phpdoc/pt_BR/language/variables.xml Sat Apr 20 03:18:19 2002 -1,4 +1,5 ?xml version=1.0 encoding=iso-8859-1? +!-- EN-Revision: 1.2 Maintainer: andre_ae Status: working -- chapter id=language.variables titleVariables/title
[PHP-DOC] cvs: phpdoc /pt_BR translation.xml
rarruda Sat Apr 20 03:31:19 2002 EDT Modified files: /phpdoc/pt_BR translation.xml Log: fixed a wrong email. ops. Index: phpdoc/pt_BR/translation.xml diff -u phpdoc/pt_BR/translation.xml:1.1 phpdoc/pt_BR/translation.xml:1.2 --- phpdoc/pt_BR/translation.xml:1.1Fri Apr 19 23:26:02 2002 +++ phpdoc/pt_BR/translation.xmlSat Apr 20 03:31:18 2002 @@ -10,19 +10,22 @@ translators - person name=Renato Arrudaemail=[EMAIL PROTECTED] nick=rarruda cvs=yes / + person name=Renato Arrudaemail=[EMAIL PROTECTED] + nick=rarruda cvs=yes / person name=André L F S Bacciemail=[EMAIL PROTECTED] nick=andre_ae cvs=yes / person name=Anderson Fortaleza email=[EMAIL PROTECTED] nick=afortalezacvs=yes / person name=João Prado Maia email=[EMAIL PROTECTED] nick=jpm cvs=yes / - person name=Claudio Pereira email=cpereira nick=cpereira cvs=yes / + person name=Claudio Pereira email=[EMAIL PROTECTED] + nick=cpereira cvs=yes / person name=Lucas Rocha email=[EMAIL PROTECTED] nick=lucasrcvs=yes / - person name=Alessander P. L. Thomaz email=[EMAIL PROTECTED] nick=kappucvs=yes / + person name=Alessander P. L. Thomaz email=[EMAIL PROTECTED] + nick=kappu cvs=yes / /translators work-in-progress - file name=preface.xml person=rarruda type=review date=04.18.2002 / - file name= reference/mysql/reference.xml person=rarruda type=translation date=04.18.2002 / + file name=preface.xmlperson=rarruda type=review +date=04.18.2002 / + file name=reference/mysql/reference.xml person=rarruda +type=translation date=04.18.2002 / + file name=language/variables.xml person=cpereira +type=translation date= / + file name=chapters/install.xml person=andre_ae +type=translation date=11.17.2001 / + file name=reference/math/reference.xml person=kappu +type=translation date=02.02.2002 / /work-in-progress /translation
[PHP-DOC] Bug #16687 Updated: Constants not being interpreted in variable variables
ID: 16687 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Red Hat Linux 7.1 PHP Version: 4.2.0 New Comment: Superglobals are named autoglobals or auto globals in many cases. Because you need not use global to make it global... I personaly think that superglobal is a better name for them (as used by Rasmus first AFAIK), so I use this name. -- Goba Previous Comments: [2002-04-19 21:01:49] [EMAIL PROTECTED] By design ? hehe Ok, I *think* it was not 'by design', I think this just turned out to be the way it is after it has been implemented. I don't think while writing the code and was kept in mind 'no, we do not want them not to be accessible in functions with variable variables'. Ok, so much. Versions of PHP has already been released, so we should document it. Btw, goba, using the search on php.net I couldn't find a single page refering to the super globals ... ? (I haven't yet browser through the manual index as I tend to find that annyoing) [2002-04-19 15:17:41] [EMAIL PROTECTED] I have already reported this problem, but nothing happened. Superglobals seemed to be accessible with variable variables in the global scope, but not in any local scope (inside a function). Derick told me, that it is by design, but IMHO this is incosistent, and quite ugly :(( -- Goba [2002-04-19 14:53:51] [EMAIL PROTECTED] Reclassified. It should be documented that due the special way super globals are treated the cannot be used with variable variables. [2002-04-19 12:40:50] [EMAIL PROTECTED] True true. Derick (or someone else) mind briefly explaining why this is/has to be different? [2002-04-19 11:11:00] [EMAIL PROTECTED] But then why does it work under certain circumstances and not others? Regardless whether intended or not, this is inconsistent behaviour. I also think that having these differences between regular variables and the superglobals shouldn't be necessary. If I can't use them in the same contexts as regular variables, then I would personally prefer the $HTTP_*_VARS instead, because you can. I have found my approach to abstracting this difference ($HTTP_*_VARS vs. $_*) between PHP versions to be really beneficial to my scripts. I can abstract them both down to one name, and use a single reference to the appropriate one instead of sticking if statements every time I need to know which one to use. Sorry to keep buggin' ya, but I think this may be a fair enough argument for change. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16687 -- Edit this bug report at http://bugs.php.net/?id=16687edit=1
[PHP-DOC] Re: Bug #16687 Updated: Constants not being interpreted in variable variables
On Sat, Apr 20, 2002 at 08:07:42AM -, [EMAIL PROTECTED] wrote : ID: 16687 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Red Hat Linux 7.1 PHP Version: 4.2.0 New Comment: Superglobals are named autoglobals or auto globals in many cases. Because you need not use global to make it global... I personaly think that superglobal is a better name for them (as used by Rasmus first AFAIK), so I use this name. Doh . . . Though I was aware of this feature from day 0 it was introduced I seam to have forgotten this completely and never heard the term 'auto globals' again . . . - Markus
[PHP-DOC] Bug #16711: pg_query doc page doesn't mentioned that pg_exec is STILL available
From: [EMAIL PROTECTED] Operating system: PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: pg_query doc page doesn't mentioned that pg_exec is STILL available See summary and http://bugs.php.net/bug.php?id=16710 -- Edit bug report at http://bugs.php.net/?id=16711edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=16711r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=16711r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16711r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16711r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16711r=support Expected behavior: http://bugs.php.net/fix.php?id=16711r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16711r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16711r=submittedtwice
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
mfischerSat Apr 20 06:35:23 2002 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: - Add comment that pg_exec() is not dead and still available too. Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.2 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.3 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.2Wed Apr 17 02:43:22 2002 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlSat Apr 20 06:35:23 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -- refentry id=function.pg-query refnamediv -47,6 +47,8 note para This function used to be called literalpg_exec()/literal. + literalpg_exec()/literal is still available for compatibility + reasons but users are encouraged to use the newer name. /para /note para
[PHP-DOC] Bug #16711 Updated: pg_query doc page doesn't mentioned that pg_exec is STILL available
ID: 16711 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type:Documentation problem PHP Version: 4.2.0 New Comment: This bug has been fixed in CVS. Previous Comments: [2002-04-20 06:26:08] [EMAIL PROTECTED] See summary and http://bugs.php.net/bug.php?id=16710 -- Edit this bug report at http://bugs.php.net/?id=16711edit=1
[PHP-DOC] cvs: phpdoc /xsl htmlhelp.xsl.in
gobaSat Apr 20 07:39:57 2002 EDT Modified files: /phpdoc/xsl htmlhelp.xsl.in Log: Adding support for custom context menu Index: phpdoc/xsl/htmlhelp.xsl.in diff -u phpdoc/xsl/htmlhelp.xsl.in:1.25 phpdoc/xsl/htmlhelp.xsl.in:1.26 --- phpdoc/xsl/htmlhelp.xsl.in:1.25 Fri Apr 19 08:55:24 2002 +++ phpdoc/xsl/htmlhelp.xsl.in Sat Apr 20 07:39:57 2002 -3,7 +3,7 HTML Help specific stylesheet - $Id: htmlhelp.xsl.in,v 1.25 2002/04/19 12:55:24 goba Exp $ + $Id: htmlhelp.xsl.in,v 1.26 2002/04/20 11:39:57 goba Exp $ -- xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; -44,9 +44,10 /xsl:template -!-- We need quite different body attribute[s] than the defaults -- +!-- We need quite different body attributes than the defaults -- xsl:template name=body.attributes xsl:attribute name=onloaddisplayPage();/xsl:attribute + xsl:attribute name=oncontextmenuif(prefs_context_override){return +false;}/xsl:attribute /xsl:template !-- Our HTML head part is *extra* slim --
[PHP-DOC] cvs: phpdoc /pl/language operators.xml
slawek Sat Apr 20 08:32:08 2002 EDT Modified files: /phpdoc/pl/language operators.xml Log: Updated to EN 1.33 (qrak) Index: phpdoc/pl/language/operators.xml diff -u phpdoc/pl/language/operators.xml:1.11 phpdoc/pl/language/operators.xml:1.12 --- phpdoc/pl/language/operators.xml:1.11 Fri Mar 15 16:13:52 2002 +++ phpdoc/pl/language/operators.xmlSat Apr 20 08:32:07 2002 -1,15 +1,128 ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.32 Maintainer: Qrak Status: ready -- -!-- $Revision: 1.11 $ -- +!-- EN-Revision: 1.33 Maintainer: Qrak Status: ready -- +!-- $Revision: 1.12 $ -- chapter id=language.operators titleOperatory/title simpara /simpara + sect1 id=language.operators.precedence + titlePriorytety operatorów/title + para +Priorytet operatora okre¶la, jak silnie operator wi±¿e ze sob± dwa stoj±ce +obok niego wyra¿enia. Na przyk³ad, w wyra¿eniu literal1 + +5 * 3/literal, wynik wynosi literal16/literal, nie +literal18/literal poniewa¿ operator mno¿enia (*) ma wy¿szy priorytet +ni¿ operator dodawania (+). Za pomoc± nawiasów mo¿na zmieniaæ priorytet +dzia³añ wed³ug regu³ arytmetyki. Na przyk³ad: literal(1 + 5) * 3/literal +jest równe literal18/literal. + /para + para +Poni¿sza tabela zawiera priorytet operatorów, od najni¿szego priorytetu na +górze. +table + titlePriorytety operatorów/title + tgroup cols=2 + thead + row +entryPowi±zanie/entry +entryOperator/entry + /row + /thead + tbody + row +entrylewe/entry +entry,/entry + /row + row +entrylewe/entry +entryor/entry + /row + row +entrylewe/entry +entryxor/entry + /row + row +entrylewe/entry +entryand/entry + /row + row +entryprawe/entry +entryprint/entry + /row + row +entrylewe/entry +entry + = += -= *= /= .= %= amp;= |= ^= ~= lt;lt;= gt;gt;= +/entry + /row + row +entrylewe/entry +entry? :/entry + /row + row +entrylewe/entry +entry||/entry + /row + row +entrylewe/entry +entryamp;amp;/entry + /row + row +entrylewe/entry +entry|/entry + /row + row +entrylewe/entry +entry^/entry + /row + row +entrylewe/entry +entryamp;/entry + /row + row +entrybez powi±zania/entry +entry== != === !==/entry + /row + row +entrybez powi±zania/entry +entrylt; lt;= gt; gt;=/entry + /row + row +entrylewe/entry +entrylt;lt; gt;gt;/entry + /row + row +entrylewe/entry +entry+ - ./entry + /row + row +entrylewe/entry +entry* / %/entry + /row + row +entryprawe/entry +entry! ~ ++ -- (int) (double) (string) (array) (object) /entry + /row + row +entryprawe/entry +entry[/entry + /row + row +entrybez powi±zania/entry +entrynew/entry + /row + /tbody + /tgroup +/table + /para + /sect1 + + sect1 id=language.operators.arithmetic titleOperatory Arytmetyczne/title simpara -Czy pamiêtasz podstawy arytmetyki ze szko³y? W PHP operatory dzia³aj± +Czy pamiêtasz podstawy arytmetyki ze szko³y? Operatory w PHP dzia³aj± niemal¿e tak samo. /simpara table -266,8 +379,8 /tgroup /table para -Jeszcze jednym operatorem warunkowym jest operator ?:, dzia³aj±cy tak jak -w C i wielu innych jêzykach. +Jeszcze jednym operatorem warunkowym jest operator ?: (tzw. ternariusz), +dzia³aj±cy tak jak w C i wielu innych jêzykach. informalexample programlisting ![CDATA[ -491,124 +604,13 /tgroup /table simpara -Operatory or i and maj± inny priorytet ni¿ || i amp;amp; i w³a¶nie z tego -powodu w PHP s± dwa rodzaje operatorów lub i i. (Zobacz +Operatory or i and maj± inny priorytet ni¿ || i amp;amp; i w³a¶nie +z tego powodu w PHP s± dwa ró¿ne operatory dla lub i i. (Zobacz link linkend=language.operators.precedencePriorytety Operatorów/link.) /simpara /sect1 - sect1 id=language.operators.precedence - titlePriorytety operatorów/title - para -Priorytet operatora okre¶la, jak silnie operator wi±¿e ze sob± dwa stoj±ce -obok niego wyra¿enia. Na przyk³ad, w wyra¿eniu literal1 + -5 * 3/literal, wynik wynosi literal16/literal, nie -literal18/literal poniewa¿ operator mno¿enia (*) ma wy¿szy priorytet -ni¿ operator dodawania (+). Za pomoc± nawiasów mo¿na zmieniaæ priorytet -dzia³añ wed³ug regu³ arytmetyki. Na przyk³ad: literal(1 + 5) * 3/literal -jest równe literal18/literal. - /para - para -Poni¿sza tabela zawiera priorytet
[PHP-DOC] Re: question
Forwarding this mail to [EMAIL PROTECTED] where the document writing guys live ;)) Goba [one [EMAIL PROTECTED]] - Original Message - From: haha web [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 20, 2002 4:04 PM Subject: question Hello! I am Kaido from Estonia. I decided to translate the full PHP Manual into estonian and now I have done one so far not much, about 55 functions are already translated. But when I finish the translation, am I allowed to sale it for money? All who want it in estonian here in Estonia they should pay for that (only for my work on the translation). Is this allowed? If not, then I don't sale it and I put it into my homepage for free and everybody can visit this site and learn PHP. So, what do you think? It would be great if I could sale it, because I put my time into translating. kaido
[PHP-DOC] question
Hello! I am Kaido from Estonia. sorry if you got already this e-mail I decided to translate the full PHP Manual into estonian and now I have done one so far not much, about 55 functions are already translated. But when I finish the translation, am I allowed to sale it for money? All who want it in estonian here in Estonia they should pay for that (only for my work on the translation). Is this allowed? If not, then I don't sale it and I put it into my homepage for free and everybody can visit this site and learn PHP. So, what do you think? It would be great if I could sale it, because I put my time into translating. kaido
[PHP-DOC] question
Hello! I am Kaido from Estonia. sorry if you got already this e-mail I decided to translate the full PHP Manual into estonian and now I have done one so far not much, about 55 functions are already translated. But when I finish the translation, am I allowed to sale it for money? All who want it in estonian here in Estonia they should pay for that (only for my work on the translation). Is this allowed? If not, then I don't sale it and I put it into my homepage for free and everybody can visit this site and learn PHP. So, what do you think? It would be great if I could sale it, because I put my time into translating. kaido
[PHP-DOC] cvs: phpdoc /en/reference/imap reference.xml
sniper Sat Apr 20 11:38:20 2002 EDT Modified files: /phpdoc/en/reference/imap reference.xml Log: Added note about the other options which might be needed. And fixed the installation notes. Index: phpdoc/en/reference/imap/reference.xml diff -u phpdoc/en/reference/imap/reference.xml:1.2 phpdoc/en/reference/imap/reference.xml:1.3 --- phpdoc/en/reference/imap/reference.xml:1.2 Mon Apr 15 14:56:41 2002 +++ phpdoc/en/reference/imap/reference.xml Sat Apr 20 11:38:19 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- reference id='ref.imap' titleIMAP, POP3 and NNTP functions/title titleabbrevIMAP/titleabbrev -9,15 +9,21 To get these functions to work, you have to compile PHP with option role=configure--with-imap/option. That requires the c-client library to be installed. Grab the latest version from -ulink url=url.imap;url.imap;/ulink and compile it. Then -copy filenamec-client/c-client.a/filename to +ulink url=url.imap;url.imap;/ulink and compile it. + /simpara + simpara +Then copy filenamec-client/c-client.a/filename to filename/usr/local/lib/libc-client.a/filename or some other -directory on your link path and copy -filenamec-client/rfc822.h/filename, -filenamemail.h/filename and filenamelinkage.h/filename to -filename/usr/local/include/filename or some other directory in +directory on your link path and copy filenamec-client/*.h/filename +to filename/usr/local/include/filename or some other directory in your include path. /simpara + note +Depending how the c-client was configured, you might also need to add +option role=configure--with-imap-ssl=/path/to/openssl//option +and/or option role=configure--with-kerberos/option into the PHP +configure line. + /note simpara Note that these functions are not limited to the acronymIMAP/acronym protocol, despite their name. The
Re: [PHP-DOC] Re: question
Aren't the docs released under the GPL? If they are, then this would be allowed as long as the source was available (the xml code, i assume). Is this correct? --Andrew On Saturday 20 April 2002 08:09 am, Gabor Hojtsy wrote: Forwarding this mail to [EMAIL PROTECTED] where the document writing guys live ;)) Goba [one [EMAIL PROTECTED]] - Original Message - From: haha web [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 20, 2002 4:04 PM Subject: question Hello! I am Kaido from Estonia. I decided to translate the full PHP Manual into estonian and now I have done one so far not much, about 55 functions are already translated. But when I finish the translation, am I allowed to sale it for money? All who want it in estonian here in Estonia they should pay for that (only for my work on the translation). Is this allowed? If not, then I don't sale it and I put it into my homepage for free and everybody can visit this site and learn PHP. So, what do you think? It would be great if I could sale it, because I put my time into translating. kaido -- ...and scantily clad females, of course. Who cares if it's below zero outside (By Linus Torvalds)
[PHP-DOC] Notes Status, 5506 total
Following are the top 20 pages of the manual, sorted by the number of user notes contributed. These sections could use a polish, those notes represent 13.9% of the 5506 total user notes. Notes | Page ---+- 95 | http://php.net/manual/en/function.setcookie.php 74 | http://php.net/manual/en/ref.session.php 49 | http://php.net/manual/en/language.oop.php 42 | http://php.net/manual/en/ref.image.php 42 | http://php.net/manual/en/ref.datetime.php 41 | http://php.net/manual/en/ref.pdf.php 38 | http://php.net/manual/en/ref.imap.php 37 | http://php.net/manual/en/function.preg-replace.php 36 | http://php.net/manual/en/function.include.php 33 | http://php.net/manual/en/function.exec.php 32 | http://php.net/manual/en/function.fopen.php 30 | http://php.net/manual/en/function.odbc-connect.php 28 | http://php.net/manual/en/ref.oci8.php 28 | http://php.net/manual/en/function.mail.php 28 | http://php.net/manual/en/features.file-upload.php 28 | http://php.net/manual/en/ref.domxml.php 27 | http://php.net/manual/en/ref.xslt.php 26 | http://php.net/manual/en/function.imagegif.php 25 | http://php.net/manual/en/function.str-replace.php 25 | http://php.net/manual/en/function.mssql-connect.php
Re: [PHP-DOC] Re: question
Aren't the docs released under the GPL? If they are, then this would be allowed as long as the source was available (the xml code, i assume). Is this correct? The *current* licence is GPL. BTW there is no [EMAIL PROTECTED] but I guess you already noticed this... Goba
Re: [PHP-DOC] Re: question
OK, I know there has been talk of changing the license, but has that really gone anywhere? Yes, I just couldn't think of whether the address had a hyphen or not (i think some other php mailing lists have a hyphen), so I sent it to both places to be safe. --Andrew On Saturday 20 April 2002 01:12 pm, Gabor Hojtsy wrote: Aren't the docs released under the GPL? If they are, then this would be allowed as long as the source was available (the xml code, i assume). Is this correct? The *current* licence is GPL. BTW there is no [EMAIL PROTECTED] but I guess you already noticed this... Goba -- Trap full -- please empty.
Re: [PHP-DOC] Re: question
OK, I know there has been talk of changing the license, but has that really gone anywhere? Well, we decided to contact all current authors, and ask them if they accept our desicion. See the full license part in the protocol file in the RFC dir of phpdoc. Yes, I just couldn't think of whether the address had a hyphen or not (i think some other php mailing lists have a hyphen), so I sent it to both places to be safe. Well, as I have seen, you only posted it to me and php-doc@... BTW it would be nice to have such an alias, as most of the other lists have hyphens in their names (including php-doc-chm) Goba
Re: [PHP-DOC] Re: question
Yes, I *meant* (gr) to post it to both places... Yes, I would like to see an alias too, it would be a lot easier... --Andrew On Saturday 20 April 2002 01:52 pm, Gabor Hojtsy wrote: OK, I know there has been talk of changing the license, but has that really gone anywhere? Well, we decided to contact all current authors, and ask them if they accept our desicion. See the full license part in the protocol file in the RFC dir of phpdoc. Yes, I just couldn't think of whether the address had a hyphen or not (i think some other php mailing lists have a hyphen), so I sent it to both places to be safe. Well, as I have seen, you only posted it to me and php-doc@... BTW it would be nice to have such an alias, as most of the other lists have hyphens in their names (including php-doc-chm) Goba -- ...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly). (By Matt Welsh)
[PHP-DOC] new chm sample
Hi! I would like to advice all of you Windows users to try out the new CHM sample. There are many exciting new elements in it, including: .) A new preferences win32 application .) A new [optional] high design .) Support for custom context menus .) Linked functions and keywords in examples .) Updated content and notes It would be nice to have some feedback, both positive and negative ;) The usual CHMs are used by many people, as the latest error reports showed us ;)) Goba
[PHP-DOC] cvs: phpdoc /ja/reference/session reference.xml
hirokawaSat Apr 20 19:54:50 2002 EDT Modified files: /phpdoc/ja/reference/sessionreference.xml Log: update translation Index: phpdoc/ja/reference/session/reference.xml diff -u phpdoc/ja/reference/session/reference.xml:1.2 phpdoc/ja/reference/session/reference.xml:1.3 --- phpdoc/ja/reference/session/reference.xml:1.2 Tue Apr 16 19:58:27 2002 +++ phpdoc/ja/reference/session/reference.xml Sat Apr 20 19:54:50 2002 -1,5 +1,5 ?xml version=1.0 encoding=utf-8? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- reference id=ref.session titleセッション処理関数(session)/title titleabbrevセッション/titleabbrev -74,6 +74,7 programlisting role=php ![CDATA[ ?php +session_start(); if (isset($HTTP_SESSION_VARS['count'])) { $HTTP_SESSION_VARS['count']++; } -99,6 +100,7 programlisting role=php ![CDATA[ ?php +session_start(); // PHP 4.0.6以前の場合は$HTTP_SESSION_VARSを使用して下さい if (!isset($_SESSION['count'])) { $_SESSION['count'] = 0; -114,6 +116,7 programlisting role=php ![CDATA[ ?php +session_start(); // PHP 4.0.6以前の場合は$HTTP_SESSION_VARSを使用して下さい unset($_SESSION['count']); -129,16 +132,30 とが可能で、セッション変数は対応するグローバル変数として回復されま す。PHPは、どのグローバル変数がセッション変数として登録されるのか を知る必要があるため、ユーザは、変数をsession_register()関数で登録 - する必要があります。しかし、$HTTP_SESSION_VARS/$_SESSIONの場合は、 -session_register()を使用する必要はありません。 +する必要があります。しかし、 +varname$HTTP_SESSION_VARS/varname/varname$_SESSION/varname +の場合は、session_register()を使用する必要はありません。 caution para - $HTTP_SESSION_VARS/$_SESSIONを使用する場合、セッションモジュール - の内部動作を知っているユーザ以外は、 + varname$HTTP_SESSION_VARS/varname/varname$_SESSION/varname + を使用し、link + linkend=ini.register-globalsliteralregister_globals/literal/link + を無効とする場合、 functionsession_register/function, functionsession_is_registered/function, functionsession_unregister/functionを使用しないで下さい。 /para + para + link + linkend=ini.register-globalsliteralregister_globals/literal + /linkを有効にしている場合は、 + functionsession_unregister/functionを使用する必要があります。 + +これは、シリアル化されたセッションデータが戻される時にセッション + 変数がグローバル変数として登録されるためです。 + セキュリティ面と性能面の双方よりlink + linkend=ini.register-globalsliteralregister_globals/literal/link + を無効とすることが推奨されています。 + /para /caution example title -166,8 +183,15 linkend=ini.track-varsliteraltrack_vars/literal/linkと link linkend=ini.register-globalsliteralregister_globals/literal/link - が共に有効な場合、グローバル変数と$HTTP_SESSION_VARS/$_SESSIONエン -トリは同じ値へのリファレンスとなります。 +が共に有効な場合、グローバル変数と +varname$HTTP_SESSION_VARS/varname/varname$_SESSION/varname + +エントリは登録済みの変数の同じ値を参照することになります。 + /para + para + +ユーザがセッション変数を登録する際にsession_register()を使用する場合、 +varname$HTTP_SESSION_VARS/varname/varname$_SESSION/varname + +は、セッションのストレージからロードされるまで(すなわち次のリクエ +ストまで)配列内にこれらの変数を有しません。 /para para セッションIDの通知を行うためには次の二つの方法があります。 -191,7 +215,9 セッションIDを直接URLに埋め込みます。 /para para -PHP は、literal--enable-trans-sid/literalを付けてコンパイルされた +PHP は、 +link linkend=install.configure.enable-trans-sid +literal--enable-trans-sid/literal/linkを付けてコンパイルされた 場合にこの処理を透過的に行います。 このオプションを有効にした場合、相対 URI はセッションIDを有するように 自動的に変更されます。 -201,8 +227,8 の形式または空の文字列です。 /para para -次の例は、変数の登録法および SID を用いて他のページに -正しくリンクする方法のデモです。 +次の例は、変数の登録法および SID +を用いて他のページに正しくリンク +する方法のデモです。 example title単一のユーザーに関するヒット数を数える/title programlisting role=php -221,10 +247,11 ?php # ユーザーがクッキーを使用不可としている場合は、セッションIDを -# 保持するために?=SID が必要です。 +# 保持するために?php echo SID? (short tagを有効としている場合は +# ?=SID?も使用可能です)が必要です。 ? -続けるには、A HREF=nextpage.php??=SID?ここをクリック/Aして下さい。 +続けるには、A HREF=nextpage.php??php echo +SID?ここをクリック/Aして下さい。 ]] /programlisting /example -232,11 +259,11 para PHPのコンパイル時に link linkend=install.configure.enable-trans-sid literal--enable-trans-sid/literal/linkを指定した場合には、 -literallt;?=SID?gt;/literal は必要ありません。 +literallt;?php echo SID?gt;/literal は必要ありません。 /para note para - 相対URLでないものは、外部サイトを指していると仮定されSIDが追加 + +相対URLでないURLは、外部サイトを指していると仮定されSIDが追加 されません。これは、SIDを異なったサーバにもらすことはセキュリティ 上のリスクとなるためです。 /para -267,6 +294,14 literalsession.save_path/literalのパスの深さが2より大きい場 合、ガーベッジコレクションは行われません。 /simpara + warning + para +この設定をfilename/tmp/filename +(デフォルト)のようにどこか + +らでも読み込み可能なディレクトリのままにしている場合、サーバ上 + +の他のユーザがこのディレクトリのファイルのリストを取得すること + +により、セッションをハイジャックをすることが可能となります。 + /para + /warning /listitem listitem simpara
[PHP-DOC] cvs: phpdoc /ja/reference/pgsql/functions pg-query.xml
hirokawaSat Apr 20 19:56:33 2002 EDT Added files: /phpdoc/ja/reference/pgsql/functionspg-query.xml Log: added pg-query.xml in japanese manual. Index: phpdoc/ja/reference/pgsql/functions/pg-query.xml +++ phpdoc/ja/reference/pgsql/functions/pg-query.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -- refentry id=function.pg-query refnamediv refnamepg_query/refname refpurposeクエリを実行する/refpurpose /refnamediv refsect1 title説明/title methodsynopsis typeresource/typemethodnamepg_query/methodname methodparamtyperesource/typeparameterconnection/parameter/methodparam methodparamtypestring/typeparameterquery/parameter/methodparam /methodsynopsis para functionpg_query/functionは、クエリが実行できた場合にクエリ結 果リソースを返します。失敗した場合や parameterconnection/parameterが有効な接続でない場合に false; を返します。接続が有効な場合、エラーに関する詳細を functionpg_last_error/function により取得することが可能です。 functionpg_query/functionは、 parameterconnection/parameterリソースで指定されたPostgreSQLデー タベースにSQL命令を送信します。 parameterconnection/parameterは、 functionpg_connect/functionまたは functionpg_pconnect/functionから返された有効な接続である必要が あります。この関数の返り値はクエリ結果のリソースであり、 functionpg_fetch_array/functionのような他のPostgreSQL関数から 結果にアクセスする際に使用されます。 note simpara parameterconnection/parameterは、 functionpg_query/functionではオプションのパラメータです。 parameterconnection/parameterが指定されない場合、デフォルトの 接続が使用されます。デフォルトの接続は、 functionpg_connect/functionまたは functionpg_pconnect/functionでにより作成された直近の接続です。 /simpara simpara parameterconnection/parameterは省略可能ですが、スクリプトのバ グが発見しにくくなるため、推奨されません。 /simpara /note /para note para この関数は、literalpg_exec()/literalと呼ばれていました。 literalpg_exec()/literalは互換性確保のためにまだ使用可能ですが、 新しい名前を使用することが推奨されています。 /para /note para functionpg_connect/function, functionpg_pconnect/function, functionpg_fetch_array/function, functionpg_fetch_object/function, functionpg_num_rows/function, functionpg_affected_rows/functionも参照下さい。 /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 --
[PHP-DOC] cvs: phpdoc /ja/reference/pgsql/functions pg-affected-rows.xml
hirokawaSat Apr 20 20:49:56 2002 EDT Added files: /phpdoc/ja/reference/pgsql/functionspg-affected-rows.xml Log: added pg-affected-rows.xml in japanese manual. Index: phpdoc/ja/reference/pgsql/functions/pg-affected-rows.xml +++ phpdoc/ja/reference/pgsql/functions/pg-affected-rows.xml ?xml version=1.0 encoding=utf-8? !-- $Revision: 1.1 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -- refentry id=function.pg-affected-rows refnamediv refnamepg_affected_rows/refname refpurpose変更されたレコード(タプル)の数を返す/refpurpose /refnamediv refsect1 title説明/title methodsynopsis typeint/typemethodnamepg_affected_rows/methodname methodparamtyperesource/typeparameterresult/parameter/methodparam /methodsynopsis para functionpg_affected_rows/function は、 functionpg_query/functionを実行した際にINSERT, UPDATE, DELETE クエリにより変更されたタプル(インスタンス/レコード/行)の数を返し ます。この関数により変更されたタプルがない場合、0が返されます。 example titlefunctionpg_affected_rows/function/title programlisting role=php ![CDATA[ ?php $result = pg_query ($conn, INSERT INTO publisher VALUES ('Author')); $cmdtuples = pg_affected_rows ($result); echo $cmdtuples . タプルが変更されました。; ? ]] /programlisting /example /para note para この関数は、literalpg_cmdtuples()/literalと呼ばれていました。 /para /note para functionpg_query/functionおよび functionpg_num_rows/functionも参照下さい。 /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 --
[PHP-DOC] cvs: phpdoc /ja/reference/pgsql functions.xml
hirokawaSat Apr 20 22:02:36 2002 EDT Modified files: /phpdoc/ja/reference/pgsql functions.xml Log: added renamed functions of pgsql in japanese manual. Index: phpdoc/ja/reference/pgsql/functions.xml diff -u phpdoc/ja/reference/pgsql/functions.xml:1.1 phpdoc/ja/reference/pgsql/functions.xml:1.2 --- phpdoc/ja/reference/pgsql/functions.xml:1.1 Sun Apr 14 21:13:45 2002 +++ phpdoc/ja/reference/pgsql/functions.xml Sat Apr 20 22:02:36 2002 -1,55 +1,59 +reference.pgsql.functions.pg-affected-rows; reference.pgsql.functions.pg-cancel-query; reference.pgsql.functions.pg-client-encoding; reference.pgsql.functions.pg-close; -reference.pgsql.functions.pg-cmdtuples; reference.pgsql.functions.pg-connect; reference.pgsql.functions.pg-connection-busy; reference.pgsql.functions.pg-connection-reset; reference.pgsql.functions.pg-connection-status; +reference.pgsql.functions.pg-convert; reference.pgsql.functions.pg-copy-from; reference.pgsql.functions.pg-copy-to; reference.pgsql.functions.pg-dbname; reference.pgsql.functions.pg-end-copy; -reference.pgsql.functions.pg-errormessage; reference.pgsql.functions.pg-escape-bytea; reference.pgsql.functions.pg-escape-string; -reference.pgsql.functions.pg-exec; reference.pgsql.functions.pg-fetch-array; reference.pgsql.functions.pg-fetch-object; reference.pgsql.functions.pg-fetch-row; -reference.pgsql.functions.pg-fieldisnull; -reference.pgsql.functions.pg-fieldname; -reference.pgsql.functions.pg-fieldnum; -reference.pgsql.functions.pg-fieldprtlen; -reference.pgsql.functions.pg-fieldsize; -reference.pgsql.functions.pg-fieldtype; -reference.pgsql.functions.pg-freeresult; +reference.pgsql.functions.pg-field-is-null; +reference.pgsql.functions.pg-field-name; +reference.pgsql.functions.pg-field-num; +reference.pgsql.functions.pg-field-prtlen; +reference.pgsql.functions.pg-field-size; +reference.pgsql.functions.pg-field-type; +reference.pgsql.functions.pg-free-result; reference.pgsql.functions.pg-get-result; -reference.pgsql.functions.pg-getlastoid; reference.pgsql.functions.pg-host; +reference.pgsql.functions.pg-insert; +reference.pgsql.functions.pg-last-error; reference.pgsql.functions.pg-last-notice; +reference.pgsql.functions.pg-last-oid; reference.pgsql.functions.pg-lo-seek; reference.pgsql.functions.pg-lo-tell; reference.pgsql.functions.pg-loclose; reference.pgsql.functions.pg-locreate; reference.pgsql.functions.pg-loexport; reference.pgsql.functions.pg-loimport; -reference.pgsql.functions.pg-loopen; -reference.pgsql.functions.pg-loread; -reference.pgsql.functions.pg-loreadall; -reference.pgsql.functions.pg-lounlink; -reference.pgsql.functions.pg-lowrite; -reference.pgsql.functions.pg-numfields; -reference.pgsql.functions.pg-numrows; +reference.pgsql.functions.pg-lo-open; +reference.pgsql.functions.pg-lo-read; +reference.pgsql.functions.pg-lo-read-all; +reference.pgsql.functions.pg-lo-unlink; +reference.pgsql.functions.pg-lo-write; +reference.pgsql.functions.pg-metadata; +reference.pgsql.functions.pg-num-fields; +reference.pgsql.functions.pg-num-rows; reference.pgsql.functions.pg-options; reference.pgsql.functions.pg-pconnect; reference.pgsql.functions.pg-port; reference.pgsql.functions.pg-put-line; -reference.pgsql.functions.pg-result; +reference.pgsql.functions.pg-query; reference.pgsql.functions.pg-result-error; reference.pgsql.functions.pg-result-status; +reference.pgsql.functions.pg-select; reference.pgsql.functions.pg-send-query; reference.pgsql.functions.pg-set-client-encoding; reference.pgsql.functions.pg-trace; reference.pgsql.functions.pg-tty; reference.pgsql.functions.pg-untrace; +reference.pgsql.functions.pg-update;
[PHP-DOC] cvs: phpdoc /ja/reference/domxml functions.xml /ja/reference/domxml/functions DomNode-append-sibling.xml
hirokawaSat Apr 20 22:11:41 2002 EDT Added files: /phpdoc/ja/reference/domxml/functions DomNode-append-sibling.xml Modified files: /phpdoc/ja/reference/domxml functions.xml Log: added DomNode-append-sibling() of domxml in japanese manual. Index: phpdoc/ja/reference/domxml/functions.xml diff -u phpdoc/ja/reference/domxml/functions.xml:1.1 phpdoc/ja/reference/domxml/functions.xml:1.2 --- phpdoc/ja/reference/domxml/functions.xml:1.1Sun Apr 14 21:01:53 2002 +++ phpdoc/ja/reference/domxml/functions.xmlSat Apr 20 22:11:40 2002 -31,6 +31,7 reference.domxml.functions.DomElement-set-attribute-node; reference.domxml.functions.DomElement-tagname; reference.domxml.functions.DomNode-append-child; +reference.domxml.functions.DomNode-append-sibling; reference.domxml.functions.DomNode-attributes; reference.domxml.functions.DomNode-child-nodes; reference.domxml.functions.DomNode-clone-node; Index: phpdoc/ja/reference/domxml/functions/DomNode-append-sibling.xml +++ phpdoc/ja/reference/domxml/functions/DomNode-append-sibling.xml ?xml version=1.0 encoding=utf-8? refentry id='function.DomNode-append-sibling' refnamediv refnameDomNode-append_sibling/refname refpurpose 新規に兄弟をノードに追加する /refpurpose /refnamediv refsect1 title説明/title methodsynopsis typeobject/typemethodnameDomNode-append_sibling/methodname methodparamtypeobject/typeparameternewnode/parameter/methodparam /methodsynopsis para この関数は、兄弟を既存のノードに追加します。 The child can be created with e.g. functionDomDocument_create_element/function, functionDomDocument_create_text/function etc. or simply by using any other node. /para para Before a new sibling is added it is first duplicated. Therefore the new child is a completely new copy which can be modified without changing the node which was passed to this function. If the node passed has children itself, they will be duplicated as well, which makes it quite easy to duplicate large parts of a xml document. The return value is the added sibling. If you plan to do further modifications on the added sibling you must use the returned node. /para para This function has been added to provide the behaviour of functionDomNode_append_child/function as it works till PHP 4.2. /para para See also functionDomNode_append_before/function. /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 --
[PHP-DOC] cvs: phpdoc /ja language-snippets.ent
hirokawaSat Apr 20 22:45:11 2002 EDT Modified files: /phpdoc/ja language-snippets.ent Log: added missing definitions. Index: phpdoc/ja/language-snippets.ent diff -u phpdoc/ja/language-snippets.ent:1.12 phpdoc/ja/language-snippets.ent:1.13 --- phpdoc/ja/language-snippets.ent:1.12Sat Mar 2 04:33:00 2002 +++ phpdoc/ja/language-snippets.ent Sat Apr 20 22:45:10 2002 -1,4 +1,4 -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- !ENTITY warn.experimental 'warningsimparaこのモジュールは、emphasis実験的/emphasisなものです。これは、これらの関数の動作、関数名は、このドキュメントに書かれて事項と同様に告知なく将来的なPHPのリリースで変更される可能性があります。注意を喚起するとともに、このモジュールは使用者のリスクで使用して下さい。/simpara/warning' -31,10 +31,12 !-- Notes for safe-mode limited functions: -- !ENTITY note.sm.disabled 'notesimparasm.disabled;/simpara/note' + !ENTITY note.sm.uidcheck 'notesimparalink linkend=features.safe-modeセーフモード/link が有効の場合、PHP は 操作を行うファイル/ディレクトリが実行するスクリプトと同じUIDを有してい るかどうかを確認します。/simpara/note' + !ENTITY note.sm.uidcheck.dir 'notesimpara link linkend=features.safe-modeセーフモード/link が有効の場合、PHPは、 操作を行うディレクトリが、実行するスクリプトと同じUIDを有しているか -44,9 +46,40 Jade doesn't allow in-line entities, so I put them here... Though they should have been inline in safe-mode.xml -- !ENTITY sm.uidcheck '処理を行うファイル/ディレクトリが実行するスクリプトと同じUIDを有しているかどうかを確認します。' + !ENTITY sm.uidcheck.dir '処理を行うディレクトリが実行するスクリプトと同じUIDを有しているかどうかを確認します。' + !ENTITY sm.disabled 'この関数は、link linkend=features.safe-modesafe-mode/linkでは無効となります。' +!-- Common pieces in partintro-sections -- +!ENTITY no.config +'paraこの拡張モジュールは設定ディレクティブを全く +定義しません。/para' +!ENTITY no.resource +'paraこの拡張モジュールはリソース型を全く定義し +ません。/para' +!ENTITY no.constants +'paraこの拡張モジュールは定数を全く定義しませ +ん。/para' +!ENTITY no.requirement +'paraこれらの関数は、標準モジュールの一部と +して利用可能であり、常に使用できます。/para' +!ENTITY no.install +'paraこれらの関数はPHPコアに含まれるため、使用す +る際にインストールは不要です。/para' + +!-- Used in reference/$extname/constants.xml -- +!ENTITY extension.constants 'simpara +これらの定数は、この拡張モジュールで定義されており、 +この拡張モジュールがPHP内部にコンパイルされているか実行時に動的にロー +ドされるかのどちらかの場合のみ使用可能です。 +/simpara' + +!-- These are using in reference/$extname/reference.xml and other +supplemental files to mark section titles -- +!ENTITY reftitle.intro 'title導入/title' +!ENTITY reftitle.required 'title要件/title' +!ENTITY reftitle.install 'titleインストール手順/title' +!ENTITY reftitle.runtime 'title実行用の設定/title' +!ENTITY reftitle.resources 'titleリソース型/title' +!ENTITY reftitle.constants 'title定義済みの定数/title' +!ENTITY reftitle.examples 'title例/title' +!ENTITY reftitle.seealso 'title以下も参照下さい: /title'