Re: [PHP-DOC] Bug #16476 Updated: unpacking
I definitely would go for either .zip or .tar.gz. I think .zip on Windows is preferable but as .tar.gz is supported by Winzip it's OK too. I don't think it's right to start educating windows users like Gabor says. It has nothing to do with bzip2 being hard but with the fact that barely anyone has it installed under Windows. Let's see who downloads the manual: a) A guy who used PHP before b) A guy who is new to PHP In either case, that guy will program in a language, write source code, set permissions on a server, upload via FTP, and do many other things not automated by click-and-play style software. We have no WYSIWYG editor for PHP, PHP is not about clicking 15-20, and putting up a new application. PHP is programming. Cannot we expect from that guy to download a small bzip executable, and go to the command line to issue *one* command and extract that bz2 file? Just go through the PHP installation instructions for Windows/Apache, where guys need to unzip a package, rename files, move some to the system dir, move some to the windows dir, edit a text file for configuration. Can we expect that guy mentioned above to do this, if he cannot even issue *one* command to extract a file? I think no, we cannot. Those users should not be treated lamers. They are going to program in a language, which is much more complex, than running a command line copy-pasted from an FAQ. BTW. about bzip2 availability we can think of putting a small bunzip to the windows binary zip and installer distributions to make sure, that guys with PHP already downloaded bzip2 availability is not a problem. License questions are important here, though... BTW why don't we provide a .doc format of the manual? Guys on windows most likely have word than acrobat reader... Because it gives nothing more than pdf. PDF is cross platform, smaller, etc. Goba
[PHP-DOC] cvs: phpdoc /it translation.xml
cortesi Mon Apr 8 06:02:54 2002 EDT Modified files: /phpdoc/it translation.xml Log: adding chris to translators Index: phpdoc/it/translation.xml diff -u phpdoc/it/translation.xml:1.65 phpdoc/it/translation.xml:1.66 --- phpdoc/it/translation.xml:1.65 Sun Apr 7 10:49:28 2002 +++ phpdoc/it/translation.xml Mon Apr 8 06:02:54 2002 @@ -39,6 +39,7 @@ person name=Wolfgang Cecchin email=[EMAIL PROTECTED] nick=saintex / person name=Guido Todarello email=[EMAIL PROTECTED] nick=guidoz / person name=Luca Costantino email=[EMAIL PROTECTED] nick=hfish/ + person name=Andrea Cristaudo email=[EMAIL PROTECTED] +nick=chris/ /translators work-in-progress @@ -55,6 +56,7 @@ file name=functions/cpdf.xml person=scarotype=offline revision=1.39 date=15/03/2002 / file name=functions/filesystem.xmlperson=spisto type=working / file name=language/functions.xml person=spisto type=offline revision=1.26 / + file name=language/variables.xml person=christype=offline +revision=1.43 / file name=functions/errorfunc.xml person=pulici type=offline revision=1.26 date=20/03/2002 / file name=functions/dba.xml person=calandra type=offline date=19/03/2002 / file name=functions/dbplus.xmlperson=calandra type=offline date=19/03/2002 /
[PHP-DOC] cvs: phpdoc /it/functions datetime.xml
cortesi Mon Apr 8 06:05:52 2002 EDT Modified files: /phpdoc/it/functionsdatetime.xml Log: updating to EN 1.70 and fixing few conversion typos Index: phpdoc/it/functions/datetime.xml diff -u phpdoc/it/functions/datetime.xml:1.11 phpdoc/it/functions/datetime.xml:1.12 --- phpdoc/it/functions/datetime.xml:1.11 Tue Mar 26 22:11:23 2002 +++ phpdoc/it/functions/datetime.xmlMon Apr 8 06:05:52 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- EN-Revision: 1.69 Maintainer: curcio_it Status: ready -- +!-- EN-Revision: 1.70 Maintainer: curcio_it Status: ready -- reference id=ref.datetime titleFunzioni di Data e Orario/title titleabbrevData/orario/titleabbrev -279,8 +279,9 /example /para para - Egrave; possibile usare functiondate()/function e functionmktime()/function - assieme per cercare una data ne futuro o nel passato. + Egrave; possibile usare functiondate/function e + functionmktime/function assieme per cercare delle date nel futuro + o nel passato. example title Esempio di functiondate/function e -303,7 +304,7 /note /para para - Alcuni esempi della formattazione di functiondate()/function. Nota che + Alcuni esempi della formattazione di functiondate/function. Nota che puoi scrivere qualsiasi altro carattere senza escape, il quale attualmente non dovrebbe produrre risultati indesiderati, ma altri caratteri potrebbero essere assegnati come caratteri della stringa di formattazione nelle prossime versioni del PHP. -713,8 +714,9 /methodsynopsis para emphasisAttenzione:/emphasis Nota lo strano ordine degli - argomenti, che differisco dal normale ordine degli argomenti in una normale chiamata - UNIX mktime(). E' un comune errore + argomenti, che differiscono dal normale ordine degli argomenti in una normale +chiamata + UNIX mktime() e che non si presta bene a far + comparire i parametri da destra a sinistra (guarda sotto). E' un comune errore la confusione di questi argomenti in uno script. /para para -729,14 +731,15 alla data e orario locale. /para para - parameterIs_dst/parameter può essere impostato su 1 se l'orario è + parameteris_dst/parameter può essere impostato su 1 se l'orario è nell'ora legale, 0 altrimenti, o -1 (di default) se è sconosciuta la presenza dell'ora legale o - meno. + meno. Se è sconosciuto, il PHP proverà ad impostarlo da se. Questo può + causare un risultato non aspettato (ma non sbagliato). /para note para - parameterIs_dst/parameter è stato aggiunto nella verisone 3.0.10. + parameteris_dst/parameter è stato aggiunto nella verisone 3.0.10. /para /note para
RE: [PHP-DOC] Bug #16476 Updated: unpacking
It's been tar.gz for a long time before, I don't see why we can't keep providing it in that format? Download size? - Stig On Mon, 2002-04-08 at 07:38, Andi Gutmans wrote: I definitely would go for either .zip or .tar.gz. I think .zip on Windows is preferable but as .tar.gz is supported by Winzip it's OK too. I don't think it's right to start educating windows users like Gabor says. It has nothing to do with bzip2 being hard but with the fact that barely anyone has it installed under Windows. Andi At 06:39 08/04/2002 +0100, James Cox wrote: if we want to make our lives easier wrt windows users, we should support .zip not tar.gz. +1 for .zip. -Original Message- From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 07, 2002 11:46 PM To: Sander Roobol; Simone Cortesi Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; PHP Documentation List Subject: Re: [PHP-DOC] Bug #16476 Updated: unpacking Anyway, the files unpack just fine on w2k with the right tools [tm] (i used cygwin, bunzip2). If it doesn't work for you your tools are broken or you don't know how to use them. Again, as nobody on windows is familiar with bzip2, which is perfectly normal as nobody else uses it, dont expect users to be familiar with it. i strongly recommend to use .tar.gz again. +1 And a +1 from me... -1. We need to educate the guys. Bzip2 is not that hard... Goba
Re: [PHP-DOC] cvs: phpdoc /scripts file-entities.php
At 19.52 07/04/02 +, you wrote: hholzgraSun Apr 7 15:52:12 2002 EDT Modified files: /phpdoc/scripts file-entities.php Log: hope this fixes the cygwin problem ... Still I cant compile the manual. I've updated the CVS 10 minutes ago (12:35) Do you need anything else to analyze the problem? I'm copying you the log of make test: (../phpdoc-tools/jade/nsgmls.exe -f log.txt -i lang-it -D . -s ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml) C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:entities/chapters.ent:14:0:E: character not allowed in declaration subset C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:37:11:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:42:18:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:.\installpart.xml:5:28:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:.\installpart.xml:25:10:E: end tag for chapter which is not finished C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:44:19:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:50:25:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:60:7:E: end tag for part which is not finished C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:64:27:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:73:7:E: end tag for part which is not finished C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:77:20:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:185:7:E: end tag for part which is not finished C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:192:15:E: character data is not allowed here C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:205:7:E: end tag for part which is not finished C:\cygwin\home\simone\phpdoc-tools\jade\nsgmls.exe:manual.xml:209:22:E: character data is not allowed here and the content of chapters.ent: !-- DON'T TOUCH - AUTOGENERATED BY ./configure -- !-- ZendAPI not found -- !ENTITY zendapi.toc !-- chmonly pages inclusion disabled -- !ENTITY chmonly '' !-- old install.xml not found in language dir -- !ENTITY chapters.install SYSTEM 'installpart.xml' !-- Separated list of predefined constants. -- !ENTITY appendices.reserved.constants SYSTEM 'reserved.constants.xml' br bWarning/b: OpenDir: Invalid argument (errno 22) in bC:\cygwin\home\simone\phpdoc\scripts\file-entities.php/b on line b38/bbr !ENTITY global.function-index SYSTEM ./funcindex.xml -- People forget how fast you did a job, but they remember how well you did it. -- Howard Newton, American advertising executive
[PHP-DOC] cvs: phpdoc /xsl html.xsl.in
hholzgraMon Apr 8 06:58:26 2002 EDT Modified files: /phpdoc/xsl html.xsl.in Log: html-common.xsl is in sourcedir, not in configure output dir Index: phpdoc/xsl/html.xsl.in diff -u phpdoc/xsl/html.xsl.in:1.5 phpdoc/xsl/html.xsl.in:1.6 --- phpdoc/xsl/html.xsl.in:1.5 Sun Feb 10 06:07:41 2002 +++ phpdoc/xsl/html.xsl.in Mon Apr 8 06:58:25 2002 -3,14 +3,14 HTML specific stylesheet - $Id: html.xsl.in,v 1.5 2002/02/10 11:07:41 goba Exp $ + $Id: html.xsl.in,v 1.6 2002/04/08 10:58:25 hholzgra Exp $ -- xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:import href=DOCBOOKXSL_HTML/ -xsl:include href=html-common.xsl/ +xsl:include href=srcdir_url/html-common.xsl/ xsl:param name=base.dir select='html/'/ xsl:param name=use.id.as.filename select=1/
RE: [PHP-DOC] Bug #16476 Updated: unpacking
Btw, if we care about download size, we should at least not use zip. Check this out: 13400 php_manual_en.tar 4128php_manual_en.zip 1300php_manual_en.tar.gz 912 php_manual_en.tar.bz2 - Stig On Mon, 2002-04-08 at 12:14, Stig S. Bakken wrote: It's been tar.gz for a long time before, I don't see why we can't keep providing it in that format? Download size? - Stig On Mon, 2002-04-08 at 07:38, Andi Gutmans wrote: I definitely would go for either .zip or .tar.gz. I think .zip on Windows is preferable but as .tar.gz is supported by Winzip it's OK too. I don't think it's right to start educating windows users like Gabor says. It has nothing to do with bzip2 being hard but with the fact that barely anyone has it installed under Windows. Andi At 06:39 08/04/2002 +0100, James Cox wrote: if we want to make our lives easier wrt windows users, we should support .zip not tar.gz. +1 for .zip. -Original Message- From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 07, 2002 11:46 PM To: Sander Roobol; Simone Cortesi Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; PHP Documentation List Subject: Re: [PHP-DOC] Bug #16476 Updated: unpacking Anyway, the files unpack just fine on w2k with the right tools [tm] (i used cygwin, bunzip2). If it doesn't work for you your tools are broken or you don't know how to use them. Again, as nobody on windows is familiar with bzip2, which is perfectly normal as nobody else uses it, dont expect users to be familiar with it. i strongly recommend to use .tar.gz again. +1 And a +1 from me... -1. We need to educate the guys. Bzip2 is not that hard... Goba
[PHP-DOC] bananasplit
splitted files are now available under http://php-groupies.de/php/split.tar.gz (~2MBytes) you can test splitted build by unpacking this within your phpdoc dir and rerunning configure to get the file entities right (requires configure to detect working PHP as the old shell code for generating entities has no support for the new sturcture) Each extension now has a subdir under $lang/reference, with a seperate subdir for function files. See for example array_splice() which used to live in .../functions/array.xml and now resides in .../reference/apache/functions/array-splice.xml the splitted files have some additional comment headers: !-- splitted from ./de/functions/array.xml, last change in rev 1.11 -- original file and revision this was taken from !-- last change to 'array-splice' in en/ tree in rev 1.14 -- last change to this functions documentation in CVS this gets the max. revision number for the line range of the function using cvs annotate !-- EN-Revision: 1.1 Maintainer: tom Status: ready -- new EN-Revision header, always 1.1 if function was in sync before split or 0.0 if not !-- OLD-Revision: 1.168/EN.1.14 -- old EN-Revision entry and max. revision from en tree for quick comparison -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77
Re: [PHP-DOC] bananasplit
On Mon, 8 Apr 2002, Hartmut Holzgraefe wrote: splitted files are now available under http://php-groupies.de/php/split.tar.gz (~2MBytes) It's: Length: 4,751,990 [application/x-tar] Derick --- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---
[PHP-DOC] Bug #16478 Updated: Very very slow loading
ID: 16478 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: WinXP Pro PHP Version: 4.1.2 New Comment: Yeah, we know it. There's another report for this. Tnx anyway. Previous Comments: [2002-04-07 17:49:27] [EMAIL PROTECTED] Hello guys, I downloaded the CHM verision of the documentation as it is much more flexible in using and easier to search in. The problem is that it loads very very slow. I don't know why but it takes about 3 seconds to display any topic. I compared to the 4.1.1 chm documentation and the 4.1.1 chm version loads normally, click and see almost instantly. It is very annoying as it is time consuming when searching through the doc and seeing multiple found topics. Thanks P.S. keep up the good work guys! -- Edit this bug report at http://bugs.php.net/?id=16478edit=1
[PHP-DOC] Bug #16478 Updated: Very very slow loading
ID: 16478 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Operating System: WinXP Pro PHP Version: 4.1.2 New Comment: Sorry, I did search the old reports to see if there was already one posted but didnt find any. Cyas and keep up the good work. Previous Comments: [2002-04-08 06:14:07] [EMAIL PROTECTED] Yeah, we know it. There's another report for this. Tnx anyway. [2002-04-07 17:49:27] [EMAIL PROTECTED] Hello guys, I downloaded the CHM verision of the documentation as it is much more flexible in using and easier to search in. The problem is that it loads very very slow. I don't know why but it takes about 3 seconds to display any topic. I compared to the 4.1.1 chm documentation and the 4.1.1 chm version loads normally, click and see almost instantly. It is very annoying as it is time consuming when searching through the doc and seeing multiple found topics. Thanks P.S. keep up the good work guys! -- Edit this bug report at http://bugs.php.net/?id=16478edit=1
[PHP-DOC] cvs: phpdoc /ro/functions xmlrpc.xml
aspinei Mon Apr 8 07:56:30 2002 EDT Added files: /phpdoc/ro/functionsxmlrpc.xml Log: Romanian translation of xmlrpc sections Index: phpdoc/ro/functions/xmlrpc.xml +++ phpdoc/ro/functions/xmlrpc.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- reference id=ref.xmlrpc titleFuncþii XMLRPC/title titleabbrevFuncþii XMLRPC/titleabbrev partintro warn.experimental; para /para /partintro refentry id=function.xmlrpc-encode-request refnamediv refnamexmlrpc_encode_request/refname refpurposeGenereazã mesajul XML pentru accesarea unei metode la distanþã/refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typestring/typemethodnamexmlrpc_encode_request/methodname methodparamtypestring/typeparametermethod/parameter/methodparam methodparamtypemixed/typeparameterparams/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-encode refnamediv refnamexmlrpc_encode/refname refpurposeGenereazã XML pentru o valoare PHP/refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typestring/typemethodnamexmlrpc_encode/methodname methodparamtypemixed/typeparametervalue/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-decode-request refnamediv refnamexmlrpc_decode_request/refname refpurposeDecodeazã XML într-un tip PHP nativ /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typearray/typemethodnamexmlrpc_decode_request/methodname methodparamtypestring/typeparameterxml/parameter/methodparam methodparamtypestring/typeparametermethod/parameter/methodparam methodparam choice=opttypestring/typeparameterencoding/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-decode refnamediv refnamexmlrpc_decode/refname refpurposeDecodeazã XML în tipuri PHP native /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typearray/typemethodnamexmlrpc_decode/methodname methodparamtypestring/typeparameterxml/parameter/methodparam methodparam choice=opttypestring/typeparameterencoding/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-server-create refnamediv refnamexmlrpc_server_create/refname refpurposeCreeazã un server XML-RPC /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typeresource/typemethodnamexmlrpc_server_create/methodname void/ /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-server-destroy refnamediv refnamexmlrpc_server_destroy/refname refpurposeDestroys server resources /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typevoid/typemethodnamexmlrpc_server_destroy/methodname methodparamtyperesource/typeparameterserver/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-server-register-method refnamediv refnamexmlrpc_server_register_method/refname refpurposeÎnregistreaza o funcþie PHP ca ºi o resursã cu numele method_name /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typebool/typemethodnamexmlrpc_server_register_method/methodname methodparamtyperesource/typeparameterserver/parameter/methodparam methodparamtypestring/typeparametermethod_name/parameter/methodparam methodparamtypestring/typeparameterfunction/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1 /refentry refentry id=function.xmlrpc-server-register-introspection-callback refnamediv refnamexmlrpc_server_register_introspection_callback/refname refpurposeÎnregistreazã o funcþie PHP pentru introspecþie în vederea generãrii automate de documentaþie /refpurpose /refnamediv refsect1 titleDescriere/title methodsynopsis typebool/typemethodnamexmlrpc_server_register_introspection_callback/methodname methodparamtyperesource/typeparameterserver/parameter/methodparam methodparamtypestring/typeparameterfunction/parameter/methodparam /methodsynopsis warn.experimental.func; para warn.undocumented.func; /para /refsect1
[PHP-DOC] cvs: phpdoc /ro/functions xmlrpc.xml
aspinei Mon Apr 8 07:58:31 2002 EDT Modified files: /phpdoc/ro/functionsxmlrpc.xml Log: changed encoding to Central European Index: phpdoc/ro/functions/xmlrpc.xml diff -u phpdoc/ro/functions/xmlrpc.xml:1.1 phpdoc/ro/functions/xmlrpc.xml:1.2 --- phpdoc/ro/functions/xmlrpc.xml:1.1 Mon Apr 8 07:56:30 2002 +++ phpdoc/ro/functions/xmlrpc.xml Mon Apr 8 07:58:31 2002 -1,5 +1,5 -?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +?xml version=1.0 encoding=iso-8859-2? +!-- $Revision: 1.2 $ -- reference id=ref.xmlrpc titleFuncþii XMLRPC/title titleabbrevFuncþii XMLRPC/titleabbrev
Re: [PHP-DOC] bananasplit
On Monday, 8. April 2002 13:12, Hartmut Holzgraefe wrote: splitted files are now available under http://php-groupies.de/php/split.tar.gz (~2MBytes) you can test splitted build by unpacking this within your phpdoc dir and rerunning configure to get the file entities right (requires configure to detect working PHP as the old shell code for generating entities has no support for the new sturcture) Hartmut, you did a really good Job!!! It works fine for me, and its not slower than the non splitted version. And the function tables are sorted now too!! What do you think, when we can move it into cvs? Georg
[PHP-DOC] cvs: phpdoc /en/functions gettext.xml
betzMon Apr 8 09:42:18 2002 EDT Modified files: /phpdoc/en/functionsgettext.xml Log: cleanups in titels Index: phpdoc/en/functions/gettext.xml diff -u phpdoc/en/functions/gettext.xml:1.20 phpdoc/en/functions/gettext.xml:1.21 --- phpdoc/en/functions/gettext.xml:1.20Wed Feb 13 06:07:25 2002 +++ phpdoc/en/functions/gettext.xml Mon Apr 8 09:42:17 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.20 $ -- +!-- $Revision: 1.21 $ -- reference id=ref.gettext titleGettext/title titleabbrevgettext/titleabbrev -37,7 +37,7 refnamebind_textdomain_codeset/refname refpurpose Specify the character encoding in which the messages from the - DOMAIN message catalog will be re turned + DOMAIN message catalog will be returned /refpurpose /refnamediv refsect1 -68,7 +68,8 /methodsynopsis para This function allows you to override the current domain for a - single message lookup. It also allows you to specify a category. + single message lookup. It also allows you to specify a + parametercategory/parameter. /para /refsect1 /refentry -76,7 +77,7 refentry id='function.dcngettext' refnamediv refnamedcngettext/refname -refpurposePlural version of dcgettext() Plural version of dcgettext/refpurpose +refpurposePlural version of dcgettext/refpurpose /refnamediv refsect1 titleDescription/title -116,7 +117,7 refentry id='function.dngettext' refnamediv refnamedngettext/refname -refpurposePlural version of dcgettext() Plural version of dgettext/refpurpose +refpurposePlural version of dgettext/refpurpose /refnamediv refsect1 titleDescription/title
[PHP-DOC] cvs: phpdoc /en/functions regex.xml
sander Mon Apr 8 09:43:53 2002 EDT Modified files: /phpdoc/en/functionsregex.xml Log: Fixed the only line of perl-code in the PHP manual Index: phpdoc/en/functions/regex.xml diff -u phpdoc/en/functions/regex.xml:1.41 phpdoc/en/functions/regex.xml:1.42 --- phpdoc/en/functions/regex.xml:1.41 Thu Mar 21 05:17:55 2002 +++ phpdoc/en/functions/regex.xml Mon Apr 8 09:43:53 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.41 $ -- +!-- $Revision: 1.42 $ -- reference id=ref.regex titleRegular Expression Functions (POSIX Extended)/title titleabbrevRegexps/titleabbrev -413,7 +413,7 /para para - For users looking for a way to emulate Perl's command$chars = + For users looking for a way to emulate Perl's commandchars = split('', $str)/command behaviour, please see the examples for functionpreg_split/function. /para
[PHP-DOC] cvs: phpdoc /en/functions array.xml bzip2.xml
betzMon Apr 8 09:44:42 2002 EDT Modified files: /phpdoc/en/functionsarray.xml bzip2.xml Log: more entities: return.success; Index: phpdoc/en/functions/array.xml diff -u phpdoc/en/functions/array.xml:1.172 phpdoc/en/functions/array.xml:1.173 --- phpdoc/en/functions/array.xml:1.172 Thu Mar 28 17:32:52 2002 +++ phpdoc/en/functions/array.xml Mon Apr 8 09:44:41 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.172 $ -- +!-- $Revision: 1.173 $ -- reference id=ref.array titleArray Functions/title titleabbrevArrays/titleabbrev -1207,8 +1207,7 SORT_REGULAR after before each new array argument. /para para - Returns true; on success, false; - on failure. + return.success; /para para example Index: phpdoc/en/functions/bzip2.xml diff -u phpdoc/en/functions/bzip2.xml:1.19 phpdoc/en/functions/bzip2.xml:1.20 --- phpdoc/en/functions/bzip2.xml:1.19 Thu Mar 28 17:32:53 2002 +++ phpdoc/en/functions/bzip2.xml Mon Apr 8 09:44:42 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.19 $ -- +!-- $Revision: 1.20 $ -- reference id=ref.bzip2 titleBzip2 Compression Functions/title titleabbrevBzip2/titleabbrev -104,7 +104,7 Closes the bzip2 file referenced by the pointer parameterbz/parameter. /para para - Returns true; on success and false; on failure. + return.success; /para para The file pointer must be valid, and must point to a file
[PHP-DOC] cvs: phpdoc /de/functions datetime.xml
betzMon Apr 8 09:56:59 2002 EDT Modified files: /phpdoc/de/functionsdatetime.xml Log: sync to en Index: phpdoc/de/functions/datetime.xml diff -u phpdoc/de/functions/datetime.xml:1.25 phpdoc/de/functions/datetime.xml:1.26 --- phpdoc/de/functions/datetime.xml:1.25 Mon Mar 25 08:26:28 2002 +++ phpdoc/de/functions/datetime.xmlMon Apr 8 09:56:58 2002 -1,10 +1,8 ?xml version=1.0 encoding=iso-8859-1? -!-- EN-Revision: 1.69 Maintainer: betz Status: ready -- +!-- EN-Revision: 1.70 Maintainer: betz Status: ready -- reference id=ref.datetime titleDatums- und Zeit-Funktionen/title titleabbrevDatum/Zeit/titleabbrev -!-- Anmerkung des Übersetzers: - entspricht en/functions/datetime.xml 1.23 -- refentry id=function.checkdate refnamediv -738,7 +736,9 parameteris_dst/parameter kann bei Sommerzeit auf 1 gesetzt werden. 0 bedeutet Winter-/Normalzeit, -1 (Vorgabewert) heisst, dass nicht bekannt ist, ob Sommer- oder Winterzeit - herrscht. + herrscht. Falls nicht bekannt ist (-1) ob Sommer- oder Winterzeit + herrscht, versucht PHP selbst dies herauszufinden. Das kann zu + unerwarteten (aber richtigen) Ergebnissen fügren. /para note para
[PHP-DOC] cvs: phpdoc /de Translators
betzMon Apr 8 09:57:28 2002 EDT Modified files: /phpdoc/de Translators Log: datetime.xml update Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.292 phpdoc/de/Translators:1.293 --- phpdoc/de/Translators:1.292 Thu Apr 4 02:32:42 2002 +++ phpdoc/de/Translators Mon Apr 8 09:57:27 2002 -101,7 +101,7 cybercash.xml Martin Jansen fertig cybermut.xmlMark Kronsbein fertig (bis 1.16) cyrus.xml -datetime.xmlFriedhelm Betz fertig (bis 1.69) +datetime.xmlFriedhelm Betz fertig (bis 1.70) dba.xml Martin Jansen fertig dbase.xml Thomas Schuermann fertig dbm.xml Holger Schranz fertig
[PHP-DOC] cvs: phpdoc /en/functions filesystem.xml
betzMon Apr 8 09:59:34 2002 EDT Modified files: /phpdoc/en/functionsfilesystem.xml Log: more entities: return.success; Index: phpdoc/en/functions/filesystem.xml diff -u phpdoc/en/functions/filesystem.xml:1.138 phpdoc/en/functions/filesystem.xml:1.139 --- phpdoc/en/functions/filesystem.xml:1.138Sun Apr 7 08:48:01 2002 +++ phpdoc/en/functions/filesystem.xml Mon Apr 8 09:59:33 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.138 $ -- +!-- $Revision: 1.139 $ -- reference id=ref.filesystem titleFilesystem functions/title titleabbrevFilesystem/titleabbrev -77,7 +77,7 change the group of a file to any group of which that user is a member. /para para - Returns true; on success; otherwise returns false;. + return.success; /para para See also functionchown/function and -120,7 +120,7 /informalexample /para para - Returns true; on success and false; otherwise. + return.success; /para para See also functionchown/function and -148,7 +148,7 the superuser may change the owner of a file. /para para - Returns true; on success; otherwise returns false;. + return.success; /para para See also functionchown/function and -420,8 +420,7 The file pointed to by parameterfp/parameter is closed. /para para - Returns true; on success and false; - on failure. + return.success; /para para The file pointer must be valid, and must point to a file -2134,7 +2133,7 /informalexample /para para - Returns true; on success and false; on failure. + return.success; /para para See also functionrmdir/function. -2556,7 +2555,7 parameternewname/parameter. /para para - Returns true; on success and false; on failure. + return.success; /para /refsect1 /refentry -2908,7 +2907,7 If the file does not exist, it is created. /para para - Returns true; on success and false; otherwise. + return.success; example titlefunctiontouch/function example/title programlisting role=php
Re: [PHP-DOC] bananasplit
Georg Richter wrote: And the function tables are sorted now too!! i just found out that this was only by accident ... :( -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77
Re: [PHP-DOC] bananasplit
Hartmut Holzgraefe wrote: Georg Richter wrote: And the function tables are sorted now too!! i just found out that this was only by accident ... :( and now finally i fonud that it wasn't by accident at all guess i should increase the refresh rate for my memory -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77
Re: [PHP-DOC] bananasplit
Hey, I get the following error (it's a cli): checking for php... /usr/local/bin/php checking php version... ./configure: test: too many arguments 4.3.0-dev configure: WARNING: PHP version 4.0.0 or newer needed Derick On Mon, 8 Apr 2002, Hartmut Holzgraefe wrote: splitted files are now available under http://php-groupies.de/php/split.tar.gz (~2MBytes) you can test splitted build by unpacking this within your phpdoc dir and rerunning configure to get the file entities right (requires configure to detect working PHP as the old shell code for generating entities has no support for the new sturcture) Each extension now has a subdir under $lang/reference, with a seperate subdir for function files. See for example array_splice() which used to live in .../functions/array.xml and now resides in .../reference/apache/functions/array-splice.xml the splitted files have some additional comment headers: !-- splitted from ./de/functions/array.xml, last change in rev 1.11 -- original file and revision this was taken from !-- last change to 'array-splice' in en/ tree in rev 1.14 -- last change to this functions documentation in CVS this gets the max. revision number for the line range of the function using cvs annotate !-- EN-Revision: 1.1 Maintainer: tom Status: ready -- new EN-Revision header, always 1.1 if function was in sync before split or 0.0 if not !-- OLD-Revision: 1.168/EN.1.14 -- old EN-Revision entry and max. revision from en tree for quick comparison -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 --- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---
Re: [PHP-DOC] Bug #16476 Updated: unpacking
BTW why don't we provide a .doc format of the manual? Because Word has problems with documents over 100 Pages ;) SCNR Mark -- German Gabber Network http://www.gabber.de Infos und Tips zu PHP http://www.php-homepage.de
Re: [PHP-DOC] Bug #16476 Updated: unpacking
Gabor Hojtsy wrote: BTW why don't we provide a .doc format of the manual? because people would start to *work* on the doc version and hand in modifications or even translations in doc format ;o -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de/ +49-711-99091-77
Re: [PHP-DOC] Bug #16476 Updated: unpacking
On Mon, 8 Apr 2002, Mark Kronsbein wrote: BTW why don't we provide a .doc format of the manual? Because Word has problems with documents over 100 Pages ;) And it can not be easily generated. Derick --- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---
[PHP-DOC] pre formatted text
Hi, First, on which list should i post items recarding peardoc? I have wrote a little schema in text-art: |---+-+ |1 |0-1 |0-4 +--+ +--+ +--+ | Transactie- | | Betalings- | | Omschrijving-| | info | | Kenmerkinfo | | info | | (0100) | | (0150) | | (0160) | +--+ +--+ +--+ What docbook element should i take for preformatted text? White space is very important in this schema. Thanks, Dave Mertens
Re: [PHP-DOC] Bug #16476 Updated: unpacking
Let's agree to disagree :) I still think .zip or .tar.gz is the right way to go for Windows users. Andi At 09:10 08/04/2002 +0200, Gabor Hojtsy wrote: I definitely would go for either .zip or .tar.gz. I think .zip on Windows is preferable but as .tar.gz is supported by Winzip it's OK too. I don't think it's right to start educating windows users like Gabor says. It has nothing to do with bzip2 being hard but with the fact that barely anyone has it installed under Windows. Let's see who downloads the manual: a) A guy who used PHP before b) A guy who is new to PHP In either case, that guy will program in a language, write source code, set permissions on a server, upload via FTP, and do many other things not automated by click-and-play style software. We have no WYSIWYG editor for PHP, PHP is not about clicking 15-20, and putting up a new application. PHP is programming. Cannot we expect from that guy to download a small bzip executable, and go to the command line to issue *one* command and extract that bz2 file? Just go through the PHP installation instructions for Windows/Apache, where guys need to unzip a package, rename files, move some to the system dir, move some to the windows dir, edit a text file for configuration. Can we expect that guy mentioned above to do this, if he cannot even issue *one* command to extract a file? I think no, we cannot. Those users should not be treated lamers. They are going to program in a language, which is much more complex, than running a command line copy-pasted from an FAQ. BTW. about bzip2 availability we can think of putting a small bunzip to the windows binary zip and installer distributions to make sure, that guys with PHP already downloaded bzip2 availability is not a problem. License questions are important here, though... BTW why don't we provide a .doc format of the manual? Guys on windows most likely have word than acrobat reader... Because it gives nothing more than pdf. PDF is cross platform, smaller, etc. Goba
[PHP-DOC] cvs: phpdoc /chm make_chm.README
mk Mon Apr 8 13:55:45 2002 EDT Modified files: /phpdoc/chm make_chm.README Log: These two dots and the backslash took me 20 minutes... Index: phpdoc/chm/make_chm.README diff -u phpdoc/chm/make_chm.README:1.1 phpdoc/chm/make_chm.README:1.2 --- phpdoc/chm/make_chm.README:1.1 Mon Jan 7 18:20:34 2002 +++ phpdoc/chm/make_chm.README Mon Apr 8 13:55:44 2002 @@ -70,7 +70,7 @@ - set PHP_HELP_COMPILE_LANG to the language code of the actual manual (use the code from cvs.php.net, eg. hu) - set PHP_HELP_COMPILE_DIR to the directory of the -html manual (eg. html) +html manual (eg. ..\html when you build it like mentioned in the howto) - set PHP_HELP_COMPILE_INDEX to the index filename in the directory you set above. This used to be manual.html for a long time, but it seems it is now index.html. @@ -115,4 +115,4 @@ Thomas Schöfbeck ([EMAIL PROTECTED]). Contact them or the phpdoc list ([EMAIL PROTECTED]) if you have any questions or suggestions... -Last modified $Date: 2002/01/07 23:20:34 $ \ No newline at end of file +Last modified $Date: 2002/04/08 17:55:44 $ \ No newline at end of file
[PHP-DOC] cvs: phpdoc /scripts file-entities.php
hholzgraMon Apr 8 14:15:52 2002 EDT Modified files: /phpdoc/scripts file-entities.php Log: another shot at the windows problem Index: phpdoc/scripts/file-entities.php diff -u phpdoc/scripts/file-entities.php:1.5 phpdoc/scripts/file-entities.php:1.6 --- phpdoc/scripts/file-entities.php:1.5Sun Apr 7 16:41:00 2002 +++ phpdoc/scripts/file-entities.phpMon Apr 8 14:15:51 2002 -10,7 +10,7 ob_implicit_flush(); set_time_limit(0); -$base_dir = abs_path($argv[$argc-2]); +$base_dir = str_replace(\\,/,abs_path($argv[$argc-2])); if(php_sapi_name()!=cli) $base_dir=ereg_replace(/scripts$,,$base_dir); $orig_dir = $base_dir./en;
[PHP-DOC] cvs: phpdoc /scripts file-entities.php
hholzgraMon Apr 8 14:32:26 2002 EDT Modified files: /phpdoc/scripts file-entities.php Log: still trying to make it work on win Index: phpdoc/scripts/file-entities.php diff -u phpdoc/scripts/file-entities.php:1.6 phpdoc/scripts/file-entities.php:1.7 --- phpdoc/scripts/file-entities.php:1.6Mon Apr 8 14:15:51 2002 +++ phpdoc/scripts/file-entities.phpMon Apr 8 14:32:26 2002 -11,7 +11,8 set_time_limit(0); $base_dir = str_replace(\\,/,abs_path($argv[$argc-2])); -if(php_sapi_name()!=cli) $base_dir=ereg_replace(/scripts$,,$base_dir); +# if(php_sapi_name()!=cli) + $base_dir=ereg_replace(/scripts$,,$base_dir); $orig_dir = $base_dir./en; $trans_dir = $base_dir./.$argv[$argc-1];
[PHP-DOC] cvs: phpdoc /he/functions curl.xml
matroz Mon Apr 8 16:14:41 2002 EDT Modified files: /phpdoc/he/functionscurl.xml Log: sync with english version Index: phpdoc/he/functions/curl.xml diff -u phpdoc/he/functions/curl.xml:1.8 phpdoc/he/functions/curl.xml:1.9 --- phpdoc/he/functions/curl.xml:1.8Fri Mar 29 03:45:56 2002 +++ phpdoc/he/functions/curl.xmlMon Apr 8 16:14:41 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- EN-Revision: 1.33 Maintainer: matroz Status: ready -- +!-- EN-Revision: 1.34 Maintainer: matroz Status: ready -- reference id=ref.curl titleCURL, Client URL Library Functions/title titleabbrevCURL/titleabbrev -429,7 +429,7 (îäçìùä îáéï äàôùøåéåú, ìçæ÷ä îáéðéäí): 'clear', 'safe', 'confidential', 'private'. àí äòøê àéðå úåàí àú àçã îäòøëéí äàéìå , àæé 'private' úäéä áùéîåù. àí äòøê ð÷áò ì NULL, -àáèçú KB4 úäéä îðåèøìú. àáèçú KB4 òåáãú ëøâò ø÷ òí äòáøåú FTP . +àáèçú KRB4 úäéä îðåèøìú. àáèçú KRB4 òåáãú ëøâò ø÷ òí äòáøåú FTP . /para /listitem listitem
Re: [PHP-DOC] Bug #16499 Updated: strftime(%T) no output
Hi Sounds like a good idea, reopening as a doc problem. Derick Previous Comments: [2002-04-08 16:43:05] [EMAIL PROTECTED] Hi, blame me, I searched the database, but this one didn't come to my eyes:-), sorry! According to that note: Note: Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). it may be worth to mention it in the docs explicitly, that strftime(%T) and strftime(%D) doesn't work on windows? greets Friedhelm If nobody is voting against, I'll update the docs. Friedhelm
[PHP-DOC] cvs: phpdoc /en/functions info.xml
sniper Mon Apr 8 19:10:52 2002 EDT Modified files: /phpdoc/en/functionsinfo.xml Log: upload_max_filesize can only be set in httpd.conf or php.ini Index: phpdoc/en/functions/info.xml diff -u phpdoc/en/functions/info.xml:1.98 phpdoc/en/functions/info.xml:1.99 --- phpdoc/en/functions/info.xml:1.98 Sat Apr 6 05:40:03 2002 +++ phpdoc/en/functions/info.xmlMon Apr 8 19:10:51 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.98 $ -- +!-- $Revision: 1.99 $ -- reference id=ref.info titlePHP Optionsamp;Information/title titleabbrevPHP Options/Info/titleabbrev -1228,7 +1228,7 row entryupload_max_filesize/entry entry2M/entry - entryPHP_INI_PERDIR|PHP_INI_SYSTEM/entry + entryPHP_INI_SYSTEM/entry /row row entryupload_tmp_dir/entry
[PHP-DOC] Bug #16479 Updated: var declaration in class has no meaning?
ID: 16479 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Win98SE PHP Version: 4.0.6 New Comment: Yeah, I guess I asked for it. But then I'd have to argue that the var declaration itself is against the nature of PHP! Firstly because it's a declaration, and secondly because it's useless. Anyway, I understand that there will be major changes in OOP in ZendEngine2, so this is probably not relevant anymore. BTW, when is this ZE2 scheduled to launch? Will it be already in 4.2.0 which is now in RC stage? Previous Comments: [2002-04-08 01:29:14] [EMAIL PROTECTED] Well, you have get_class_vars() which can retrieve all the default properties (i.e. the ones declared with 'var $foo'). And your last suggestions is against the nature of PHP. You just do not have to declare variables to use it. Making this a doc problem though I'm not quite sure; letting the doc team decide. [2002-04-07 18:31:55] [EMAIL PROTECTED] I am not sure whether this is a bug, a feature, or lack of a feature. Perhaps this should be marked a Feature Request then... Anyway, here goes: the var declaration in a class seems to have no meaning whatsoever, except perhaps for documentation purposes. PHP allows me to assign to class variables that weren't declared without even a warning at the highest warning reporting level. That's actually not very surprising since PHP doesn't otherwise have declarations of variables, but what is then the meaning of var in classes? I suggest that PHP should at least warn about class variables that weren't declared. -- Edit this bug report at http://bugs.php.net/?id=16479edit=1
[PHP-DOC] Bug #16499 Updated: strftime(%T) no output
ID: 16499 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open -Bug Type: Date/time related +Bug Type: Documentation problem Operating System: win2k Server SP2 PHP Version: 4.1.1 New Comment: Sounds like a good idea, reopening as a doc problem. Derick Previous Comments: [2002-04-08 16:43:05] [EMAIL PROTECTED] Hi, blame me, I searched the database, but this one didn't come to my eyes:-), sorry! According to that note: Note: Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). it may be worth to mention it in the docs explicitly, that strftime(%T) and strftime(%D) doesn't work on windows? greets Friedhelm [2002-04-08 16:06:30] [EMAIL PROTECTED] see bug #16498 :) [2002-04-08 16:04:42] [EMAIL PROTECTED] Hi, strftime(%T) doesn't produce any output on win2k. From the docs: %T - current time, equal to %H:%M:%S print strftime(%T);//no output print strftime(%H:%M:%S ); //expected output Regards Friedhelm Betz -- Edit this bug report at http://bugs.php.net/?id=16499edit=1
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
yohgaki Mon Apr 8 20:30:50 2002 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: Added limitations of bytea type and pg_escape_bytea. Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.78 phpdoc/en/functions/pgsql.xml:1.79 --- phpdoc/en/functions/pgsql.xml:1.78 Sun Apr 7 19:54:08 2002 +++ phpdoc/en/functions/pgsql.xml Mon Apr 8 20:30:49 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.78 $ -- +!-- $Revision: 1.79 $ -- reference id=ref.pgsql titlePostgreSQL functions/title titleabbrevPostgreSQL/titleabbrev -2292,8 +2292,23 /para note para - This function is requires PostgreSQL 7.2 or later. - /para + When you SELECT bytea type, PostgreSQL returns octal byte value + prefixed by \. (e.g. \032) Users are supposed to convert back to + binary formant by yourself. + /para + para + This function requires PostgreSQL 7.2 or later. With PostgreSQL + 7.2.0 and 7.2.1, bytea type must be casted when you enable + multi-byte support. i.e. literalINSERT INTO test_table (image) + VALUES ('$image_escaped'::bytea);/literal PostgreSQL 7.2.2 or + later does not need cast. Exception is when client and backend + character encoding does not match, there may be multi-byte + stream error. User must cast to bytea to avoid this error. + /para + para + Newer PostgreSQL will support unescape function. Support for + built-in unescape function will be added when it's available. + /para /note para See also functionpg_escape_string/function
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
yohgaki Mon Apr 8 21:29:49 2002 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: Added new function descriptions Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.79 phpdoc/en/functions/pgsql.xml:1.80 --- phpdoc/en/functions/pgsql.xml:1.79 Mon Apr 8 20:30:49 2002 +++ phpdoc/en/functions/pgsql.xml Mon Apr 8 21:29:49 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.79 $ -- +!-- $Revision: 1.80 $ -- reference id=ref.pgsql titlePostgreSQL functions/title titleabbrevPostgreSQL/titleabbrev -2333,7 +2333,9 /methodsynopsis para functionpg_escape_string/function escapes string for - text/char datatype. It returns escaped string. + text/char datatype. It returns escaped string for + PostgreSQL. Use of this functon is recommended instead of + functionaddslashes/function. /para note para -2376,7 +2378,293 /para /refsect1 /refentry + + + + refentry id='function.pg-metadata' + refnamediv +refnamepg_metadata/refname +refpurpose + Get metadata for table. +/refpurpose + /refnamediv + refsect1 +titleDescription/title + methodsynopsis + typearray/typemethodnamepg_metadata/methodname + +methodparamtyperesource/typeparameterconnection/parameter/methodparam + methodparamtypestring/typeparametertable_name/parameter/methodparam + /methodsynopsis +para + functionpg_metadata/function returns table definition for + literaltable_name/literal as array. If there is error, it + returns false +/para +note + para + This function is experimental. + /para +/note +para + See also functionpg_convert/function +/para + /refsect1 + /refentry + + + + refentry id='function.pg-convert' + refnamediv +refnamepg_convert/refname +refpurpose + Convert associative array value into suitable for SQL statement. +/refpurpose + /refnamediv + refsect1 +titleDescription/title + methodsynopsis + typearray/typemethodnamepg_convert/methodname + +methodparamtyperesource/typeparameterconnection/parameter/methodparam + methodparamtypestring/typeparametertable_name/parameter/methodparam + methodparamtypearray/typeparameterassoc_array/parameter/methodparam + /methodsynopsis +para + functionpg_convert/function check and convert literalassoc_array/literal +suitable for SQL statement. +/para +note + para + This function is experimental. + /para +/note +para + See also functionpg_metadata/function +/para + /refsect1 + /refentry + + + + refentry id='function.pg-insert' + refnamediv +refnamepg_insert/refname +refpurpose + Insert array into table. +/refpurpose + /refnamediv + refsect1 +titleDescription/title + methodsynopsis + typebool/typemethodnamepg_insert/methodname + +methodparamtyperesource/typeparameterconnection/parameter/methodparam + methodparamtypestring/typeparametertable_name/parameter/methodparam + methodparamtypearray/typeparameterassoc_array/parameter/methodparam + methodparam +choice=opttypebool/typeparameterconvert/parameter/methodparam + /methodsynopsis +para + functionpg_insert/function inserts + literalassoc_array/literal which has + literalfield=value/literal into table specified as + literaltable_name/literal. If literalconvert/literal is + not specified or true, functionpg_convert/function applied + to literalassoc_array/literal. +/para +example + titlepg_insert/title + programlisting role=php + ![CDATA[ +?php +$db = pg_connect ('dbname=foo'); +// This is safe, since $_POST is converted autotmatically +$res = pg_insert($db, 'post_log', $_POST); +if ($res) { +echo POST data is succesfully logged\n; +} +else { +echo User must have sent wrong inputs\n; +} +? +]] + /programlisting +/example +note + para + This function is experimental. + /para +/note +para + See also functionpg_convert/function +/para + /refsect1 + /refentry + + + + refentry id='function.pg-select' + refnamediv +refnamepg_select/refname +refpurpose + Select records. +/refpurpose + /refnamediv + refsect1 +titleDescription/title + methodsynopsis + typearray/typemethodnamepg_select/methodname + +methodparamtyperesource/typeparameterconnection/parameter/methodparam + methodparamtypestring/typeparametertable_name/parameter/methodparam + methodparamtypearray/typeparameterassoc_array/parameter/methodparam + methodparam +choice=opttypebool/typeparameterconvert/parameter/methodparam + /methodsynopsis +para + functionpg_select/function selects records specified by + literalassoc_array/literal which has +
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
yohgaki Mon Apr 8 21:36:10 2002 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: Fixed wrong English Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.80 phpdoc/en/functions/pgsql.xml:1.81 --- phpdoc/en/functions/pgsql.xml:1.80 Mon Apr 8 21:29:49 2002 +++ phpdoc/en/functions/pgsql.xml Mon Apr 8 21:36:10 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.80 $ -- +!-- $Revision: 1.81 $ -- reference id=ref.pgsql titlePostgreSQL functions/title titleabbrevPostgreSQL/titleabbrev -2339,7 +2339,7 /para note para - This function is requires PostgreSQL 7.2 or later. + This function requires PostgreSQL 7.2 or later. /para /note para
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
yohgaki Mon Apr 8 21:59:28 2002 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: Change function listing order. Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.81 phpdoc/en/functions/pgsql.xml:1.82 --- phpdoc/en/functions/pgsql.xml:1.81 Mon Apr 8 21:36:10 2002 +++ phpdoc/en/functions/pgsql.xml Mon Apr 8 21:59:27 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.81 $ -- +!-- $Revision: 1.82 $ -- reference id=ref.pgsql titlePostgreSQL functions/title titleabbrevPostgreSQL/titleabbrev @@ -225,42 +225,6 @@ - refentry id=function.pg-close - refnamediv -refnamepg_close/refname -refpurposeClose a PostgreSQL connection/refpurpose - /refnamediv - refsect1 -titleDescription/title - methodsynopsis - typebool/typemethodnamepg_close/methodname - methodparamtyperesource/typeparameterconnection/parameter/methodparam - /methodsynopsis -para - functionpg_close/function closes down the non-persistent - connection to a PostgreSQL database associated with the given - parameterconnection/parameter resource. It returns true;, if - parameterconnection/parameter is a valid connection resource, - otherwise it return false;. -/para -note - para - functionpg_close/function is not usually necessary, as - non-persistent open links are automatically closed at the end of - the script's execution. functionpg_close/function will not - close persistent links generated by - functionpg_pconnect/function. - /para -/note -para - If there is open large object resource on the connection, do not - close the connection before closing all large object resources. -/para - /refsect1 - /refentry - - - refentry id=function.pg-affected-rows refnamediv refnamepg_affected_rows/refname @@ -376,22 +340,258 @@ - refentry id=function.pg-dbname + refentry id=function.pg-pconnect refnamediv -refnamepg_dbname/refname -refpurposeGet the database name/refpurpose +refnamepg_pconnect/refname +refpurposeOpen a persistent PostgreSQL connection/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis - typestring/typemethodnamepg_dbname/methodname + typeint/typemethodnamepg_pconnect/methodname + +methodparamtypestring/typeparameterconnection_string/parameter/methodparam + /methodsynopsis +para + functionpg_pconnect/function opens a connection to a + PostgreSQL database. It returns a connection resource that is + needed by other PostgreSQL functions. +/para +para + It returns a connection resource on success, or false; if the + connection could not be made. The arguments should be within a + quoted string. The arguments available include + parameterhost/parameter, parameterport/parameter, + parametertty/parameter, parameteroptions/parameter, + parameterdbname/parameter, parameteruser/parameter, and + parameterpassword/parameter. +/para + example + titleUsing pg_pconnect/title + programlisting role=php +![CDATA[ +?php +$dbconn = pg_connect (dbname=mary); +//connect to a database named mary +$dbconn2 = pg_connect (host=localhost port=5432 dbname=mary); +// connect to a database named mary on localhost at port 5432 +$dbconn3 = pg_connect (host=sheep port=5432 dbname=mary user=lamb password=foo); +//connect to a database named mary on the host sheep with a username and password +$conn_string = host=sheep port=5432 dbname=test user=lamb password=bar; +$dbconn4 = pg_connect ($conn_string); +//connect to a database named test on the host sheep with a username and password +? +]] + /programlisting + /example +para + If a second call is made to functionpg_pconnect/function with + the same arguments, no new connection will be established, but + instead, the connection resource of the already opened connection + will be returned. You can have multiple connections to the same + database if you use different connection string. +/para +para + Multiple parameters syntax for functionpg_pconnect/function + command$conn = pg_pconnect (host, port, options, tty, +dbname) + /command + has been deprecated. +/para +para + To enable persistent connection, link + linkend=ini.pgsql.allow-persistentpgsql.allow_persistent/link + php.ini; directive must be set to quot;Onquot;. (Default is On) + Max number of persistent connection can be defined by link + linkend=ini.pgsql.max-persistentpgsql.max_persistent/link + php.ini; directive. (Default is -1 which is no limit) Total number + of connection can be set by link + linkend=ini.pgsql.max-linkspgsql.max_links/link + php.ini; directive. +/para +para + functionpg_close/function will not close persistent links +
[PHP-DOC] Renaming function and PHP versions
Hi, I've updated function name that has been changed for PHP 4.2.0. I need to know how to set appropriate version info to ref? I need to show pg_affected_rows (PHP3, PHP 4.0.0) instead of pg_affected_rows (PHP 4 CVS only) Thank you. -- Yasuo Ohgaki
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
yohgaki Mon Apr 8 22:40:28 2002 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: Fix pg_qeury description Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.83 phpdoc/en/functions/pgsql.xml:1.84 --- phpdoc/en/functions/pgsql.xml:1.83 Mon Apr 8 22:02:28 2002 +++ phpdoc/en/functions/pgsql.xml Mon Apr 8 22:40:28 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.83 $ -- +!-- $Revision: 1.84 $ -- reference id=ref.pgsql titlePostgreSQL functions/title titleabbrevPostgreSQL/titleabbrev -834,7 +834,7 simpara parameterconnection/parameter is a optional parameter for functionpg_query/function. If - parameterconnection/parameter is not used, default + parameterconnection/parameter is not set, default connection is used. Default connection is the last connection made by functionpg_connect/function or functionpg_pconnect/function.
[PHP-DOC] cvs: phpdoc /en/appendices resources.xml
yohgaki Mon Apr 8 23:17:06 2002 EDT Modified files: /phpdoc/en/appendices resources.xml Log: Update PostgreSQL resource description Index: phpdoc/en/appendices/resources.xml diff -u phpdoc/en/appendices/resources.xml:1.23 phpdoc/en/appendices/resources.xml:1.24 --- phpdoc/en/appendices/resources.xml:1.23 Thu Mar 21 18:00:00 2002 +++ phpdoc/en/appendices/resources.xml Mon Apr 8 23:17:05 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- appendix id=resource titleList of Resource Types/title para -1814,24 +1814,22 row entrypgsql large object/entry entry - functionpg_getlastoid/function, - functionpg_loimport/function, - functionpg_loimport/function + functionpg_lo_open/function /entry entry - functionpg_loopen/function, - functionpg_getlastoid/function, - functionpg_locreate/function, - functionpg_loexport/function, - functionpg_loread/function, - functionpg_loreadall/function, - functionpg_lounlink/function, - functionpg_lowrite/function + functionpg_lo_open/function, + functionpg_lo_create/function, + functionpg_lo_read/function, + functionpg_lo_read_all/function, + functionpg_lo_seek/function, + functionpg_lo_tell/function, + functionpg_lo_unlink/function, + functionpg_lo_write/function /entry entry - functionpg_loclose/function + functionpg_lo_close/function /entry -entryPostGreSQL Large Object/entry +entryPostgreSQL Large Object/entry /row row entrypgsql link/entry -1839,29 +1837,44 functionpg_connect/function /entry entry - functionpg_cmdtuples/function, - functionpg_dbname/function, - functionpg_end_copy/function, - functionpg_errormessage/function, + functionpg_affected_rows/function, + functionpg_query/function, + functionpg_send_query/function, + functionpg_get_result/function, + functionpg_connection_busy/function, + functionpg_connection_reset/function, + functionpg_connection_status/function, + functionpg_last_error/function, + functionpg_last_notice/function, + functionpg_lo_create/function, + functionpg_lo_export/function, + functionpg_lo_import/function, + functionpg_lo_open/function, + functionpg_lo_unlink/function, functionpg_host/function, - functionpg_locreate/function, - functionpg_loexport/function, - functionpg_loimport/function, - functionpg_loopen/function, - functionpg_lounlink/function, - functionpg_options/function, functionpg_port/function, + functionpg_dbname/function, + functionpg_options/function, + functionpg_copy_from/function, + functionpg_copy_to/function, + functionpg_end_copy/function, functionpg_put_line/function, - functionpg_set_client_encoding/function, - functionpg_client_encoding/function, + functionpg_tty/function, functionpg_trace/function, functionpg_untrace/function, - functionpg_tty/function + functionpg_set_client_encoding/function, + functionpg_client_encoding/function, + functionpg_metadata/function, + functionpg_convert/function, + functionpg_insert/function, + functionpg_select/function, + functionpg_delete/function, + functionpg_update/function /entry entry functionpg_close/function /entry -entryLink to PostGreSQL database/entry +entryLink to PostgreSQL database/entry /row row entrypgsql link persistent/entry -1869,54 +1882,72 functionpg_pconnect/function /entry entry - functionpg_cmdtuples/function, - functionpg_dbname/function, - functionpg_end_copy/function, - functionpg_errormessage/function, + functionpg_affected_rows/function, + functionpg_query/function, + functionpg_send_query/function, + functionpg_get_result/function, + functionpg_connection_busy/function, + functionpg_connection_reset/function, + functionpg_connection_status/function, + functionpg_last_error/function, + functionpg_last_notice/function, + functionpg_lo_create/function, + functionpg_lo_export/function, + functionpg_lo_import/function, + functionpg_lo_open/function, + functionpg_lo_unlink/function, functionpg_host/function, - functionpg_locreate/function, - functionpg_loexport/function, - functionpg_loimport/function, - functionpg_loopen/function, - functionpg_lounlink/function, - functionpg_options/function, functionpg_port/function, + functionpg_dbname/function, + functionpg_options/function, + functionpg_copy_from/function, + functionpg_copy_to/function, + functionpg_end_copy/function, functionpg_put_line/function, - functionpg_set_client_encoding/function, - functionpg_client_encoding/function, +
[PHP-DOC] cvs: phpdoc /en/functions classobj.xml
slawek Tue Apr 9 02:03:58 2002 EDT Modified files: /phpdoc/en/functionsclassobj.xml Log: Typos Index: phpdoc/en/functions/classobj.xml diff -u phpdoc/en/functions/classobj.xml:1.37 phpdoc/en/functions/classobj.xml:1.38 --- phpdoc/en/functions/classobj.xml:1.37 Fri Mar 15 07:29:24 2002 +++ phpdoc/en/functions/classobj.xmlTue Apr 9 02:03:57 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.37 $ -- +!-- $Revision: 1.38 $ -- reference id=ref.classobj titleClass/Object Functions/title titleabbrevClasses/Objects/titleabbrev -194,7 +194,7 /para /warning para - Calls a the method referred by parametermethod_name/parameter from + Calls the method referred by parametermethod_name/parameter from the user defined parameterobj/parameter object. An example of usage is below, where we define a class, instantiate an object and use functioncall_user_method/function to call indirectly its -261,7 +261,7 /para /warning para - Calls a the method referred by parametermethod_name/parameter from + Calls the method referred by parametermethod_name/parameter from the user defined parameterobj/parameter object, using the parameters in parameterparamarr/parameter. /para