[PHP-DOC] Build broken because of my socket commits

2002-05-02 Thread Markus Fischer

Hi,

the build of en manual is currently broken causes of my
socket commits yesterday. Since my local copy works and my
knowledge is not in-depth with the doc generation I'm unable
to fix this:

[...]
 running make test_man_gen ... 
touch .manual.xml
CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status
config.status: creating manual.xml
/usr/bin/nsgmls -wno-idref -i lang-en -D . -s 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
 running make mirror-files ... 
/usr/bin/jade -D . -wno-idref  -d dsssl/phpweb.dsl -V use-output-dir -t sgml 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
/usr/bin/jade -D . -wno-idref  -d dsssl/html.dsl -V use-output-dir -t sgml 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
/usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:9:1:E: general 
entity reference.sockets.functions.socket-get-option not defined and no default 
entity
/usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:30:1:E: general 
entity reference.sockets.functions.socket-set-option not defined and no default 
entity
make: *** [html/index.html] Error 1
[...]

thanks,

- Markus (and sorry for breaking it)

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Mind if I MFH ? What QA did you do on it? the usual? ah... none :)



Re: [PHP-DOC] Build broken because of my socket commits

2002-05-02 Thread Simone Cortesi

At 09.16 02/05/02 +0200, Markus Fischer wrote:

/usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:9:1:E: 
general entity reference.sockets.functions.socket-get-option not defined 
and no default entity

There is a mismatch here:   refentry id=function.socket-get_option
But in file /en/reference/socket/functions.xml it is referenced like this: 
reference.sockets.functions.socket-get-option; (an yipen instead uf 
underscore)

Same thing for set-option function.

Is it underscore or (-) ?

Bye,
Simone.

-- 
Tutto e' possibile in Maggio.
   In May, everything is possible. -- Mario Bisio.




Re: [PHP-DOC] Build broken because of my socket commits

2002-05-02 Thread Markus Fischer

Hi,

thanks for pointing out this, I blindly searched/replaced
getopt - get_option, etc. Seems I'm a complete moron
because that way my local couldn't work either ;-) I've fixed
it, let's hope it builds now.

thanks again,

- Markus

On Thu, May 02, 2002 at 09:44:50AM +0200, Simone Cortesi wrote : 
 At 09.16 02/05/02 +0200, Markus Fischer wrote:
 
 /usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:9:1:E: 
 general entity reference.sockets.functions.socket-get-option not defined 
 and no default entity
 
 There is a mismatch here:   refentry id=function.socket-get_option
 But in file /en/reference/socket/functions.xml it is referenced like this: 
 reference.sockets.functions.socket-get-option; (an yipen instead uf 
 underscore)
 
 Same thing for set-option function.
 
 Is it underscore or (-) ?
 
 Bye,
 Simone.
 
 -- 
 Tutto e' possibile in Maggio.
   In May, everything is possible. -- Mario Bisio.

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Mind if I MFH ? What QA did you do on it? the usual? ah... none :)



[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-get-option.xml socket-set-option.xml

2002-05-02 Thread Markus Fischer

mfischerThu May  2 04:31:39 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-get-option.xml 
socket-set-option.xml 
  Log:
  - Fix blind search/replace
  
  
Index: phpdoc/en/reference/sockets/functions/socket-get-option.xml
diff -u phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.2 Wed May  1 
13:08:05 2002
+++ phpdoc/en/reference/sockets/functions/socket-get-option.xml Thu May  2 04:31:38 
+2002
 -1,7 +1,7 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 --
-  refentry id=function.socket-get_option
+  refentry id=function.socket-get-option
refnamediv
 refnamesocket_get_option/refname
 refpurposeGets socket options for the socket /refpurpose
Index: phpdoc/en/reference/sockets/functions/socket-set-option.xml
diff -u phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.2 Wed May  1 
13:08:07 2002
+++ phpdoc/en/reference/sockets/functions/socket-set-option.xml Thu May  2 04:31:38 
+2002
 -1,7 +1,7 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 --
-  refentry id=function.socket-set_option
+  refentry id=function.socket-set-option
refnamediv
 refnamesocket_set_option/refname
 refpurposeSets socket options for the socket/refpurpose





[PHP-DOC] cvs: phpdoc / configure.in

2002-05-02 Thread Derick Rethans

derick  Thu May  2 05:25:23 2002 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  - Add default RH 7 path
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.146 phpdoc/configure.in:1.147
--- phpdoc/configure.in:1.146   Wed May  1 13:08:43 2002
+++ phpdoc/configure.in Thu May  2 05:25:22 2002
 -1,4 +1,4 
-dnl $Id: configure.in,v 1.146 2002/05/01 17:08:43 goba Exp $
+dnl $Id: configure.in,v 1.147 2002/05/02 09:25:22 derick Exp $
 
 dnl autoconf initialisation
 AC_INIT()
 -257,6 +257,7 
 ],[
   for dir1 in $srcdir/phpdoc-tools/dsssl \
   $srcdir/../phpdoc-tools/dsssl \
+  /usr/share/sgml/docbook/dsssl-stylesheets-1.59/
   /usr/share/sgml \
   /usr/local/share/sgml \
   /usr/lib/sgml \





[PHP-DOC] cvs: phpdoc / configure.in

2002-05-02 Thread Derick Rethans

derick  Thu May  2 05:38:44 2002 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  - Test before commit!
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.147 phpdoc/configure.in:1.148
--- phpdoc/configure.in:1.147   Thu May  2 05:25:22 2002
+++ phpdoc/configure.in Thu May  2 05:38:41 2002
 -1,4 +1,4 
-dnl $Id: configure.in,v 1.147 2002/05/02 09:25:22 derick Exp $
+dnl $Id: configure.in,v 1.148 2002/05/02 09:38:41 derick Exp $
 
 dnl autoconf initialisation
 AC_INIT()
 -257,7 +257,6 
 ],[
   for dir1 in $srcdir/phpdoc-tools/dsssl \
   $srcdir/../phpdoc-tools/dsssl \
-  /usr/share/sgml/docbook/dsssl-stylesheets-1.59/
   /usr/share/sgml \
   /usr/local/share/sgml \
   /usr/lib/sgml \
 -267,6 +266,7 
   /opt/sgml/lib 
   do
 for dir2 in docbook \
+docbook/dsssl-stylesheets-1.59 \
 docbook/dsssl-stylesheets \
 docbook/dsssl/modular \
 docbook/stylesheet/dsssl/modular \





[PHP-DOC] cvs: phpdoc /en/reference/math/functions number-format.xml

2002-05-02 Thread Sander Roobol

sander  Thu May  2 06:48:14 2002 EDT

  Modified files:  
/phpdoc/en/reference/math/functions number-format.xml 
  Log:
  #16946
  
  
Index: phpdoc/en/reference/math/functions/number-format.xml
diff -u phpdoc/en/reference/math/functions/number-format.xml:1.2 
phpdoc/en/reference/math/functions/number-format.xml:1.3
--- phpdoc/en/reference/math/functions/number-format.xml:1.2Wed Apr 17 02:39:54 
2002
+++ phpdoc/en/reference/math/functions/number-format.xmlThu May  2 06:48:14 
+2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/math.xml, last change in rev 1.2 --
   refentry id=function.number-format
refnamediv
 -72,7 +72,7 
 
 // english notation without thousands seperator
 $english_format_number = number_format($number, 2, '.', '');
-// 1234.56
+// 1234.57
 
 ?
 ]]





[PHP-DOC] cvs: phpdoc /en/reference/bc reference.xml

2002-05-02 Thread Sander Roobol

sander  Thu May  2 06:52:06 2002 EDT

  Modified files:  
/phpdoc/en/reference/bc reference.xml 
  Log:
  libbcmath is bundled with PHP.
  
  
Index: phpdoc/en/reference/bc/reference.xml
diff -u phpdoc/en/reference/bc/reference.xml:1.3 
phpdoc/en/reference/bc/reference.xml:1.4
--- phpdoc/en/reference/bc/reference.xml:1.3Fri Apr 19 10:26:18 2002
+++ phpdoc/en/reference/bc/reference.xmlThu May  2 06:52:05 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
  reference id=ref.bc
   titleBCMath Arbitrary Precision Mathematics Functions/title
   titleabbrevBC math/titleabbrev
 -16,12 +16,8 
section id=bc.requirements
 reftitle.required;
 para
- Due to changes in the licensing, the BCMATH library is distributed
- separate from the standard PHP source distribution. 
- You can download the tar-gzipped archive at the url:
- ulink url=url.bcmath;url.bcmath;/ulink.  Read the
- file filenameREADME.BCMATH/filename in the PHP distribution
- for more information.
+ Since PHP 4.0.4, libbcmath is bundled with PHP. You don't need any
+ external libraries for this extension.
 /para
/section
 





[PHP-DOC] cvs: phpdoc /en/reference/url/functions parse-url.xml

2002-05-02 Thread Sander Roobol

sander  Thu May  2 07:00:40 2002 EDT

  Modified files:  
/phpdoc/en/reference/url/functions  parse-url.xml 
  Log:
  #16910
  
  
Index: phpdoc/en/reference/url/functions/parse-url.xml
diff -u phpdoc/en/reference/url/functions/parse-url.xml:1.2 
phpdoc/en/reference/url/functions/parse-url.xml:1.3
--- phpdoc/en/reference/url/functions/parse-url.xml:1.2 Wed Apr 17 02:44:55 2002
+++ phpdoc/en/reference/url/functions/parse-url.xml Thu May  2 07:00:39 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/url.xml, last change in rev 1.2 --
   refentry id=function.parse-url
refnamediv
 -18,7 +18,7 
 itemizedlist
  listitem
   simpara
-   structfieldscheme/structfield - e.g. http://
+   structfieldscheme/structfield - e.g. http
   /simpara
  /listitem
  listitem





[PHP-DOC] Bug #16946 Updated: number_format documentation example problem

2002-05-02 Thread sander

 ID:   16946
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
-Bug Type: Website problem
+Bug Type: Documentation problem
 Operating System: documentation
 PHP Version:  4.1.2
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/




Previous Comments:


[2002-05-01 10:26:47] [EMAIL PROTECTED]

The example listed on the number_format page is not taking into account
the rounding of the value returned.

http://www.php.net/manual/en/function.number-format.php

?php

$number = 1234.56;

// english notation (default)
$english_format_number = number_format($number);
// 1,234.56

// French notation
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,56

$number = 1234.5678;

// english notation without thousands seperator
$english_format_number = number_format($number, 2, '.', '');
// 1234.56

?

The last output should be 1234.57




-- 
Edit this bug report at http://bugs.php.net/?id=16946edit=1




[PHP-DOC] Bug #16928 Updated: bcmath requrements section not up to date?

2002-05-02 Thread sander

 ID:   16928
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  4.2.0
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/




Previous Comments:


[2002-04-30 09:49:31] [EMAIL PROTECTED]

The bcmath requirements section mentions that bcmath is
distributed separately from PHP.
However, bcmath is bundled with PHP, at least in the CVS
version.




-- 
Edit this bug report at http://bugs.php.net/?id=16928edit=1




[PHP-DOC] Bug #16882 Updated: HTML Help crashes opening php_manual_en.chm

2002-05-02 Thread sander

 ID:   16882
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Win XP
 PHP Version:  4.2.0
 New Comment:

Try downloading the file again. hh.exe can't crashes on broken files.


Previous Comments:


[2002-04-28 04:38:33] [EMAIL PROTECTED]

What HTML Help is it actually. From php.net or from weblabor.hu?



[2002-04-27 21:13:23] [EMAIL PROTECTED]

HTML Help (latest version) crashes when opening php_manual_en.chm under
Windows XP Pro. hh.exe opens other documents (not from php document
page) correctly.

AppName: hh.exe  AppVer: 4.74.9273.0 ModName: itss.dll
ModVer: 4.72.8085.0  Offset: 252c

My preferred editor could open context sensitive help for a keyword
(e.g. PHP function) with one keystroke - so I consider properly working
HTML help a tremendous help in coding and debugging - compared to the
other available formats.




-- 
Edit this bug report at http://bugs.php.net/?id=16882edit=1




[PHP-DOC] Bug #16615 Updated: Corrupt php_manual_de.chm

2002-05-02 Thread sander

 ID:   16615
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Assigned
+Status:   Feedback
 Bug Type: Documentation problem
 Operating System: Win ME
 PHP Version:  4.2.0
 Assigned To:  derick
 New Comment:

Does it work now?


Previous Comments:


[2002-04-15 13:04:40] [EMAIL PROTECTED]

I'll reschedule the build for tonight, also build in a check to check
if CHMs are valid.

Derick



[2002-04-15 06:04:04] [EMAIL PROTECTED]

The german CHM-File seems to be corrupt/damaged. It only has a size of
832KB instead of about 2.6MB from other CHM's. It also can't be opened
in Windows. I have downloaded it several times always with the same
result.




-- 
Edit this bug report at http://bugs.php.net/?id=16615edit=1




[PHP-DOC] Bug #16910 Updated: function.parse-url has invalid description for scheme

2002-05-02 Thread sander

 ID:   16910
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.2.0
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/




Previous Comments:


[2002-04-29 14:04:25] [EMAIL PROTECTED]

Corrected spelling error in summary (preview for bug reports would be
nice :)



[2002-04-29 14:03:31] [EMAIL PROTECTED]

The scheme part of the query returned by parse_url() would be http,
not http://;, as is indicated by the manual.




-- 
Edit this bug report at http://bugs.php.net/?id=16910edit=1




Re: [PHP-DOC] Bug #16946 Updated: number_format documentation example problem

2002-05-02 Thread Simone Cortesi

At 10.48 02/05/02 +, [EMAIL PROTECTED] wrote:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/

This is not correct. There is no manual @ snaps.php.net.

Maybe we should change the description: at least to be: http://cvs.php.net/


-- 
Tutto e' possibile in Maggio.
   In May, everything is possible. -- Mario Bisio.




[PHP-DOC] Bug #16294 Updated: Pages loading slowly

2002-05-02 Thread sander

 ID:   16294
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Duplicate
 Bug Type: Documentation problem
 Operating System: Windows 98
 PHP Version:  4.1.2
 New Comment:

See 16925


Previous Comments:


[2002-03-27 19:02:21] [EMAIL PROTECTED]

If you take a look here:
http://cvs.php.net/co.php/phpdoc/chm/make_chm.README you will find out
how to compile the manual in CHM format starting from the HTML files.



[2002-03-27 17:08:16] [EMAIL PROTECTED]

hmm, you recompiled it? HOW?

and by the way, i have downloaded the NEW CHM, and it doesnt have this
problem. (the new one is buggy but it works pretty good :P)



[2002-03-27 08:05:45] [EMAIL PROTECTED]

First I downloaded the italian CHM manual and it is slow as our user
reports, same for the english one on my machine (Windows98 SE).

Then I compiled myself the CHM and it does not show any problem in
speed. It is fast as usual PHP CHM are.



[2002-03-26 17:16:11] [EMAIL PROTECTED]

here's some more specif info:
The CHM file was compiled on: Sun Mar 24 02:00:26 2002

and it is the old (regular) CHM manual, not the one which you are
working on now (which is currently on the 4th edition).



[2002-03-26 17:09:41] [EMAIL PROTECTED]

hello,
I have recently downloaded the CHM help manual in english (from the
documantation page).
The file was compiled on 25th of March 2002.

When i swtich to any page, it takes about 30 seconds to load that
page.
I ran the manual on a Pentium 200 with 32MB of ram that has IE 6.0
installed.
This didnt happen with older versions of the manual(which i downloaded
about 3 months ago.)




-- 
Edit this bug report at http://bugs.php.net/?id=16294edit=1




[PHP-DOC] Bug #16615 Updated: Corrupt php_manual_de.chm

2002-05-02 Thread sander

 ID:   16615
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Assigned
 Bug Type: Documentation problem
 Operating System: Win ME
 PHP Version:  4.2.0
 Assigned To:  derick
 New Comment:

No.


Previous Comments:


[2002-05-02 06:58:42] [EMAIL PROTECTED]

Does it work now?



[2002-04-15 13:04:40] [EMAIL PROTECTED]

I'll reschedule the build for tonight, also build in a check to check
if CHMs are valid.

Derick



[2002-04-15 06:04:04] [EMAIL PROTECTED]

The german CHM-File seems to be corrupt/damaged. It only has a size of
832KB instead of about 2.6MB from other CHM's. It also can't be opened
in Windows. I have downloaded it several times always with the same
result.




-- 
Edit this bug report at http://bugs.php.net/?id=16615edit=1




[PHP-DOC] Bug #16615 Updated: Corrupt php_manual_de.chm

2002-05-02 Thread u . gehauf

 ID:   16615
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Assigned
 Bug Type: Documentation problem
 Operating System: Win ME
 PHP Version:  4.2.0
 Assigned To:  derick
 New Comment:

Don't know, if the CHM-File works now. There is no Downloadlink for it
to try ;-)


Previous Comments:


[2002-05-02 07:19:14] [EMAIL PROTECTED]

No.



[2002-05-02 06:58:42] [EMAIL PROTECTED]

Does it work now?



[2002-04-15 13:04:40] [EMAIL PROTECTED]

I'll reschedule the build for tonight, also build in a check to check
if CHMs are valid.

Derick



[2002-04-15 06:04:04] [EMAIL PROTECTED]

The german CHM-File seems to be corrupt/damaged. It only has a size of
832KB instead of about 2.6MB from other CHM's. It also can't be opened
in Windows. I have downloaded it several times always with the same
result.




-- 
Edit this bug report at http://bugs.php.net/?id=16615edit=1




[PHP-DOC] cvs: phpdoc /en/reference/tokenizer functions.xml reference.xml /en/reference/tokenizer/functions token-get-all.xml token-name.xml

2002-05-02 Thread Sander Roobol

sander  Thu May  2 09:22:43 2002 EDT

  Added files: 
/phpdoc/en/reference/tokenizer  functions.xml reference.xml 
/phpdoc/en/reference/tokenizer/functionstoken-get-all.xml 
token-name.xml 
  Log:
  Added tokenizer skeleton
  
  

Index: phpdoc/en/reference/tokenizer/functions.xml
+++ phpdoc/en/reference/tokenizer/functions.xml
reference.tokenizer.functions.token_get_all;
reference.tokenizer.functions.token_name;

Index: phpdoc/en/reference/tokenizer/reference.xml
+++ phpdoc/en/reference/tokenizer/reference.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
 reference id=ref.tokenizer
  titleTokenizer functions/title
  titleabbrevTokenizer functions/titleabbrev

  partintro
   warn.experimental;
  /partintro

reference.tokenizer.functions;

 /reference
!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
--


Index: phpdoc/en/reference/tokenizer/functions/token-get-all.xml
+++ phpdoc/en/reference/tokenizer/functions/token-get-all.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.token-get-all
   refnamediv
refnametoken_get_all/refname
refpurposeSplit given source in tokens/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typearray/typemethodnametoken_get_all/methodname
  methodparamtypestring/typeparametersource/parameter/methodparam
 /methodsynopsis
 warn.experimental.func;
 warn.undocumented.func;
   /refsect1
  /refentry

!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--

Index: phpdoc/en/reference/tokenizer/functions/token-name.xml
+++ phpdoc/en/reference/tokenizer/functions/token-name.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.token-name
   refnamediv
refnametoken_name/refname
refpurposeGet the name of a given token/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typestring/typemethodnametoken_name/methodname
  methodparamtypeint/typeparametertype/parameter/methodparam
 /methodsynopsis
 warn.experimental.func;
 warn.undocumented.func;
   /refsect1
  /refentry

!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--





[PHP-DOC] Bug #16964 Updated: error in ODBC_FETCH_INTO()

2002-05-02 Thread derick

 ID:   16964
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Bogus
+Status:   Open
-Bug Type: ODBC related
+Bug Type: Documentation problem
 Operating System: Winnt
 PHP Version:  4.2.0
 New Comment:

It's a docu problem.


Previous Comments:


[2002-05-02 10:23:33] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Please read the manual.



[2002-05-02 09:21:31] [EMAIL PROTECTED]

Doku:
int odbc_fetch_into ( int result_id [, int rownumber, array
result_array])  don´t work

this is okay :
int odbc_fetch_into ( int result_id [, array result_array, int
rownumber])








-- 
Edit this bug report at http://bugs.php.net/?id=16964edit=1




[PHP-DOC] file()+macs == bad news?

2002-05-02 Thread Philip Olson

Hello all,

Here's a bug report, can a mac user please 
confirm this?

  file() - incorrect behavior (line endings ignored) 
   on files with Mac EOLN (CR)

   http://bugs.php.net/bug.php?id=16521

If so, has it been this way forever or is it a 
recent break?  We need to document it.  See also 
the user comments at www.php.net/file

Regards,
Philip Olson




[PHP-DOC] Re: [PHP-QA] file()+macs == bad news?

2002-05-02 Thread derick

Hey Philip,

On Thu, 2 May 2002, Philip Olson wrote:

 Here's a bug report, can a mac user please 
 confirm this?
 
   file() - incorrect behavior (line endings ignored) 
on files with Mac EOLN (CR)
 
http://bugs.php.net/bug.php?id=16521

I think this is fixed in PHP CVS (HEAD, for 4.3.x)

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] Indentation in mysql examples

2002-05-02 Thread Sawomir Pucia

Could someone (maybe Derick) please explain why indentation of many (half?)
examples in mysql.xml (revision 1.101) have been changed? Now we have half
of the examples indented (4 spaces) and half not. Now I'm confused with
applying these changes to pl/. IMHO we should go back to non-indented
examples (as in the rest of chapters).

slawek-





Re: [PHP-DOC] Indentation in mysql examples

2002-05-02 Thread Egon Schmid

From: Sawomir Pucia [EMAIL PROTECTED]

 Could someone (maybe Derick) please explain why indentation of
many (half?)
 examples in mysql.xml (revision 1.101) have been changed? Now we
have half
 of the examples indented (4 spaces) and half not. Now I'm confused
with
 applying these changes to pl/. IMHO we should go back to
non-indented
 examples (as in the rest of chapters).

Since the beginning of the English PHP Manual, there have been 4
spaces in examples. You can correct this in en/ and use it in the
pl/ tree.

-Egon




Re: [PHP-DOC] Re: [PHP-QA] file()+macs == bad news?

2002-05-02 Thread Philip Olson


Hi Derick-

Can you show the change?  I've looked through file.c 
and it appears to require \n still.  But php-dev 
work is certainly not my specialty :)  NEWS isn't 
showing anything either.

Regards,
Philip


On Thu, 2 May 2002 [EMAIL PROTECTED] wrote:

 Hey Philip,
 
 On Thu, 2 May 2002, Philip Olson wrote:
 
  Here's a bug report, can a mac user please 
  confirm this?
  
file() - incorrect behavior (line endings ignored) 
 on files with Mac EOLN (CR)
  
 http://bugs.php.net/bug.php?id=16521
 
 I think this is fixed in PHP CVS (HEAD, for 4.3.x)
 
 Derick




Re: [PHP-DOC] Re: [PHP-QA] file()+macs == bad news?

2002-05-02 Thread derick

On Thu, 2 May 2002, Philip Olson wrote:

 Can you show the change?  I've looked through file.c 
 and it appears to require \n still.  But php-dev 
 work is certainly not my specialty :)  NEWS isn't 
 showing anything either.

oops, I was wrong... it's being dealt with now atleast.

Derick

 On Thu, 2 May 2002 [EMAIL PROTECTED] wrote:
 
  Hey Philip,
  
  On Thu, 2 May 2002, Philip Olson wrote:
  
   Here's a bug report, can a mac user please 
   confirm this?
   
 file() - incorrect behavior (line endings ignored) 
  on files with Mac EOLN (CR)
   
  http://bugs.php.net/bug.php?id=16521
  
  I think this is fixed in PHP CVS (HEAD, for 4.3.x)
  
  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] cvs: phpdoc /de/chapters intro.xml

2002-05-02 Thread Thomas Schoefbeck

tom Thu May  2 17:15:58 2002 EDT

  Modified files:  
/phpdoc/de/chapters intro.xml 
  Log:
  sync to en
  
Index: phpdoc/de/chapters/intro.xml
diff -u phpdoc/de/chapters/intro.xml:1.17 phpdoc/de/chapters/intro.xml:1.18
--- phpdoc/de/chapters/intro.xml:1.17   Sun Apr  7 06:00:34 2002
+++ phpdoc/de/chapters/intro.xmlThu May  2 17:15:57 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.32 Maintainer: tom Status: ready --
+!-- EN-Revision: 1.33 Maintainer: tom Status: ready --
  chapter id=introduction
   titleEinleitung/title
 
 -103,11 +103,11 
schreiben, um sie ohne einen Server oder einen Browser laufen
zu lassen. Hierfür benötigen Sie nur den PHP Parser. Diese Art
der Verwendung ist für die regelmäßig auszuführende Skripte mittels
-   cron (einem Taskplaner unter Linux und Unix Systemen) oder dem
-   Taskplaner unter Windows. Diese Skripte können auch für einfache
-   Aufgaben zur Verarbeitung von Text verwendet werden. Weitere
-   Informationen dazu finden Sie im Abschnitt link
-   linkend=commandlineUsing PHP from the command line/link.
+   cron (unter *nix oder Linux) oder dem Task Scheduler (unter Windows).
+   Diese Skripte können auch für einfache Aufgaben zur Verarbeitung von
+   Text verwendet werden. Weitere Informationen dazu finden Sie im
+   Abschnitt link linkend=commandlineUsing PHP from the command
+   line/link.
   /simpara
  /listitem
  listitem





[PHP-DOC] cvs: phpdoc /de/reference/array/functions each.xml end.xml

2002-05-02 Thread Thomas Schoefbeck

tom Thu May  2 17:17:55 2002 EDT

  Modified files:  
/phpdoc/de/reference/array/functionseach.xml end.xml 
  Log:
  sync to en
  
Index: phpdoc/de/reference/array/functions/each.xml
diff -u phpdoc/de/reference/array/functions/each.xml:1.2 
phpdoc/de/reference/array/functions/each.xml:1.3
--- phpdoc/de/reference/array/functions/each.xml:1.2Wed Apr 17 02:53:01 2002
+++ phpdoc/de/reference/array/functions/each.xmlThu May  2 17:17:53 2002
 -1,7 +1,7 
 ?xml version=1.0 encoding=iso-8859-1?
 !-- splitted from ./de/functions/array.xml, last change in rev 1.2 --
 !-- last change to 'each' in en/ tree in rev 1.2 --
-!-- EN-Revision: 1.2 Maintainer: tom Status: ready --
+!-- EN-Revision: 1.3 Maintainer: tom Status: ready --
 !-- OLD-Revision: 1.173/EN.1.2 --
   refentry id=function.each
refnamediv
 -98,7 +98,8 
 para
  Siehe auch functionkey/function, functionlist/function,
  functioncurrent/function, functionreset/function,
- functionnext/function und functionprev/function.
+ functionnext/function, functionprev/function und
+ functionforeach/function.
 /para
/refsect1
   /refentry
Index: phpdoc/de/reference/array/functions/end.xml
diff -u phpdoc/de/reference/array/functions/end.xml:1.2 
phpdoc/de/reference/array/functions/end.xml:1.3
--- phpdoc/de/reference/array/functions/end.xml:1.2 Wed Apr 17 02:53:01 2002
+++ phpdoc/de/reference/array/functions/end.xml Thu May  2 17:17:55 2002
 -1,7 +1,7 
 ?xml version=1.0 encoding=iso-8859-1?
 !-- splitted from ./de/functions/array.xml, last change in rev 1.2 --
 !-- last change to 'end' in en/ tree in rev 1.2 --
-!-- EN-Revision: 1.2 Maintainer: tom Status: ready --
+!-- EN-Revision: 1.3 Maintainer: tom Status: ready --
 !-- OLD-Revision: 1.173/EN.1.2 --
   refentry id=function.end
refnamediv
 -20,6 +20,22 
  functionend/function rückt den internen Zeiger von
  parameterarray/parameter bis zum letzten Element vor, und gibt
  dieses Element zurück.
+/para
+para
+ example
+  titleEin einfaches functionend/function Beispiel/title
+  programlisting role=php
+![CDATA[
+?php
+
+  $fruits = array('apple','banana','cranberry');
+
+  print end($fruits); // cranberry
+  
+?
+]]
+  /programlisting
+ /example
 /para
 para
  Siehe auch functioncurrent/function,





[PHP-DOC] cvs: phpdoc /de/reference/dbx reference.xml

2002-05-02 Thread Thomas Schoefbeck

tom Thu May  2 17:18:54 2002 EDT

  Modified files:  
/phpdoc/de/reference/dbxreference.xml 
  Log:
  sync to en
  
Index: phpdoc/de/reference/dbx/reference.xml
diff -u phpdoc/de/reference/dbx/reference.xml:1.3 
phpdoc/de/reference/dbx/reference.xml:1.4
--- phpdoc/de/reference/dbx/reference.xml:1.3   Sun Apr 28 05:19:22 2002
+++ phpdoc/de/reference/dbx/reference.xml   Thu May  2 17:18:53 2002
 -1,34 +1,98 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.2 Maintainer: tom Status: ready --
+!-- EN-Revision: 1.3 Maintainer: tom Status: ready --
 
  reference id=ref.dbx
   titledbx Funktionen/title
   titleabbrevdbx/titleabbrev
   partintro
-   simpara
-Das dbx Modul ist eine Datenbank-Abstraktionsschicht (db 'X', wobei 'X'
-eine unterstützte Datenbank ist). Die dbx Funktionen ermöglichen Ihnen
-den Zugriff auf alle unterstützten Datenbanken mit einer einzigen
-Aufrufkonvention. Diese Funktionen sind nur verfügbar, wenn PHP mit der
-Option link linkend=install.configure.enable-dbx
-option role=configure--enable-dbx/option/link, sowie allen
-Optionen für die zu benutzenden Datenbanken (z.B. für MySQLlink
-linkend=install.configure.with-mysql
-option role=install.configure.with-mysql--with-mysql/option/link)
-konfiguriert und kompiliert wurde. Die dbx Funktionen stellen selbst
-keinen direkten Kontakt zu den Datenbanken her, sondern benutzen dafür
-jene Module, welche die jeweilige Datenbank unterstützen. Um eine
-Datenbank mit dem dbx Modul benutzen zu können, muss das Modul in PHP
-gelinkt oder geladen sein, und das Datenbankmodul muss vom dbx-Modul
-unterstützt werden. Derzeit werden MySQL, PostgreSQL, Microsoft SQL
-Server, FrontBase, Sybase-CT und ODBC unterstützt, und weitere werden
-(hoffentlich bald :-) folgen.
-   /simpara
-   simpara
+   section id=dbx.intro
+reftitle.intro;
+para
+ Das dbx Modul ist eine Datenbank-Abstraktionsschicht (db 'X', wobei 'X'
+ eine unterstützte Datenbank ist). Die dbx Funktionen ermöglichen Ihnen
+ den Zugriff auf alle unterstützten Datenbanken mit einer einzigen
+ Aufrufkonvention. Die dbx Funktionen stellen selbst keinen direkten
+ Kontakt zu den Datenbanken her, sondern benutzen dafür jene Module,
+ welche die jeweilige Datenbank unterstützen. 
+/para
+   /section
+   
+   section id=dbx.required
+reftitle.required;
+para
+ Um eine Datenbank mit dem dbx-Modul verwenden zu können, muss das Modul
+ entweder gelinkt oder in PHP geladen sein, und das Datenbankmodul muss
+ von dem dbx-Modul unterstützt werden. Derzeit werden folgende Datenbanken
+ unterstützt, und weitere werden (hoffentlich bald :-) folgen:
+ itemizedlist
+  listitem
+   simpara
+link linkend=ref.fbsqlFrontBase/link (verfügbar seit PHP 4.1.0).
+   /simpara
+  /listitem
+  listitem
+   simpara
+link linkend=ref.mssqlMicrosoft SQL Server/link
+   /simpara
+   /listitem
+  listitem
+   simpara
+link linkend=ref.mysqlMySQL/link
+   /simpara
+  /listitem
+  listitem
+   simpara
+link linkend=ref.odbcODBC/link
+   /simpara
+  /listitem
+  listitem
+   simpara
+link linkend=ref.pgsqlPostgreSQL/link
+   /simpara
+  /listitem
+  listitem
+   simpara
+link linkend=ref.sybaseSybase-CT/link (nur CVS).
+   /simpara
+  /listitem
+ /itemizedlist
+/para
+para
 Eine Dokumentation, wie dbx weitere Datenbankunterstützung hinzugefügt
 werden kann, finden Sie unter ulink
 url=url.dbx.docs;url.dbx.docs;/ulink.
-   /simpara
+/para
+   /section
+
+   section id=dbx.installation
+reftitle.install;
+para
+ Diese Funktionen sind nur verfügbar, wenn PHP mit der Option
+ option role=configure--enable-dbx/option, sowie allen
+ Optionen für die zu benutzenden Datenbanken (z.B. für MySQL 
+ option role=configure--with-mysql=[DIR]/option)
+ konfiguriert und kompiliert wurde. Informationen zur Konfiguration
+ anderer von dem dbx-Modul unterstützten Datenbanken finden Sie in
+ dem Kapitel des jeweiligen Datenbankmoduls.
+/para
+   /section
+   
+   section id=dbx.runtime
+reftitle.runtime;
+no.config;
+   /section
+
+   section id=dbx.resources
+reftitle.resources;
+para
+ Im dbx-Modul werden zwei Resourcetypen verwendet. Der erste ist ein
+ Link-typeObjekt/type für eine Datenbankverbindung, der zweite ist ein
+ Result-typeObjekt/type, welches das Ergebnis einer Abfrage enthält.
+/para
+   /section
+   
+   reference.dbx.constants;
+   
   /partintro
 
 reference.dbx.functions;





Re: [PHP-DOC] Indentation in mysql examples

2002-05-02 Thread Sawomir Pucia

 Could someone (maybe Derick) please explain why indentation of many
 (half?) examples in mysql.xml (revision 1.101) have been changed?
 Now we have half of the examples indented (4 spaces) and half not.
 Now I'm confused with applying these changes to pl/. IMHO we should
 go back to non-indented examples (as in the rest of chapters).

 Since the beginning of the English PHP Manual, there have been 4
 spaces in examples. You can correct this in en/ and use it in the
 pl/ tree.

Probably you didn't get the point.

Since 1.101 many examples look like...

?php
/* Connecting, selecting database */
$link = mysql_connect(mysql_host, mysql_user, mysql_password)
or die(Could not connect);
print Connected successfully;
[...]

Until 1.101 they looked like...

?php
/* Connecting, selecting database */
$link = mysql_connect(mysql_host, mysql_user, mysql_password)
or die(Could not connect);
print Connected successfully;
[...]

The question is whether or not to use these 4 spaces in each line. If yes, I
will correct the rest of mysql related files, and use it in pl/.

slawek-





[PHP-DOC] cvs: phpdoc /he translation.xml

2002-05-02 Thread Tomer Cohen

tomer   Thu May  2 18:35:03 2002 EDT

  Modified files:  
/phpdoc/he  translation.xml 
  Log:
  added myself
  
Index: phpdoc/he/translation.xml
diff -u phpdoc/he/translation.xml:1.19 phpdoc/he/translation.xml:1.20
--- phpdoc/he/translation.xml:1.19  Wed May  1 11:58:13 2002
+++ phpdoc/he/translation.xml   Thu May  2 18:35:01 2002
@@ -1,43 +1,44 @@
-?xml version=1.0 encoding=iso-8859-8 ?
-!DOCTYPE translation SYSTEM ../entities/translation.dtd
-
-translation
-
- intro
-  The Hebrew translation of the PHP documentation is maintained
-  by the good PHP-loving people.
-  If you you want to join our effort to bring PHP to people, contact us!
-  Project coordinator: [EMAIL PROTECTED]
- /intro
-
- translators
-  person name=Shlomi Loubaton  email=[EMAIL PROTECTED]
nick=shlomi   cvs=yes/
-  person name=Lior Hammer  email=[EMAIL PROTECTED]
 nick=lior cvs=yes/
-  person name=Itai Nathaniel   email=[EMAIL PROTECTED]   
nick=rafulcvs=yes/
-  person name=Yuval Ofir   email=[EMAIL PROTECTED] 
nick=yuvalcvs=yes/
-  person name=Yair email=[EMAIL PROTECTED]  
nick=yair cvs=yes/
-  person name=Ido Diamant  email=[EMAIL PROTECTED]   
nick=ido  cvs=yes/
-  person name=Barak Bloch  email=[EMAIL PROTECTED] 
nick=barakcvs=yes/
-  person name=Gal Talmor   email=[EMAIL PROTECTED] 
 nick=gal  cvs=yes/
-  person name=Tal Peer email=[EMAIL PROTECTED] 
 nick=tal  cvs=yes/
-  person name=Matty Rozen  email=[EMAIL PROTECTED]
nick=matroz   cvs=yes/
-  person name=Hadar Porat email=[EMAIL PROTECTED]
nick=hadar_p  cvs=yes/
-  person name=Sagie Maoz  email=[EMAIL PROTECTED]
nick=n0nick   cvs=yes/
- /translators
-
- work-in-progress
-  file name=language/expressions.xmlperson=baraktype=offline   
 revision=1.0 date=30/01/2002 /
-  file name=features/error-handling.xml person=rafultype=offline   
 revision=1.0 date=30/01/2002 /
-  file name=features/http-auth.xml  person=rafultype=offline   
 revision=1.0 date=30/01/2002 /
-  file name=chapters/intro.xml  person=shlomi   
type=translation /
-  file name=functions/array.xml person=yair type=offline   
 revision=1.0 date=30/01/2002 /
-  file name=functions/filesystem.xmlperson=rafultype=offline   
 revision=1.0 date=30/01/2002 /
-  file name=faq/com.xmlperson=gal  
type=translation revision=1.0 date=10/02/2002 /
-  file name=appendices/migration4.xml   person=tal  
type=translation revision=1.0 date=01/03/2002 /
-  file name=language/types.xml  person=tal  
type=translation revision=1.0 date=21/03/2002 /
-  file name=functions/ibase.xml person=matroz   
type=translation revision=1.0 date=26/03/2002 /
-  file name=functions/mail.xml  person=matroz   
type=translation revision=1.0 date=26/03/2002 /
-  file name=appendices/reserved.xml person=n0nick   
type=translation revision=1.0 date=01/05/2002 /
- /work-in-progress
-
-/translation
+?xml version=1.0 encoding=iso-8859-8 ?
+!DOCTYPE translation SYSTEM ../entities/translation.dtd
+
+translation
+
+ intro
+  The Hebrew translation of the PHP documentation is maintained
+  by the good PHP-loving people.
+  If you you want to join our effort to bring PHP to people, contact us!
+  Project coordinator: [EMAIL PROTECTED]
+ /intro
+
+ translators
+  person name=Shlomi Loubaton  email=[EMAIL PROTECTED]
+nick=shlomi   cvs=yes/
+  person name=Lior Hammer  email=[EMAIL PROTECTED]
+ nick=lior cvs=yes/
+  person name=Itai Nathaniel   email=[EMAIL PROTECTED]   
+nick=rafulcvs=yes/
+  person name=Yuval Ofir   email=[EMAIL PROTECTED] 
+nick=yuvalcvs=yes/
+  person name=Yair email=[EMAIL PROTECTED]  
+nick=yair cvs=yes/
+  person name=Ido Diamant  email=[EMAIL PROTECTED]   
+nick=ido  cvs=yes/
+  person name=Barak Bloch  email=[EMAIL PROTECTED] 
+nick=barakcvs=yes/
+  person name=Gal Talmor   email=[EMAIL PROTECTED] 
+ nick=gal  cvs=yes/
+  person name=Tal Peer email=[EMAIL PROTECTED] 
+ nick=tal  cvs=yes/
+  person name=Matty Rozen  email=[EMAIL PROTECTED]
+nick=matroz   cvs=yes/
+  person name=Hadar Porat 

Re: [PHP-DOC] Indentation in mysql examples

2002-05-02 Thread Simone Cortesi

At 00.24 03/05/02 +0200, =?iso-8859-2?Q?S=B3awomir_Pucia?= wrote:

Probably you didn't get the point.

Since 1.101 many examples look like...

?php
 /* Connecting, selecting database */
 $link = mysql_connect(mysql_host, mysql_user, mysql_password)
 or die(Could not connect);
 print Connected successfully;
[...]

Until 1.101 they looked like...

?php
/* Connecting, selecting database */
$link = mysql_connect(mysql_host, mysql_user, mysql_password)
 or die(Could not connect);
print Connected successfully;
[...]

The question is whether or not to use these 4 spaces in each line. If yes, I
will correct the rest of mysql related files, and use it in pl/.

I've read that we should start at column 1 in examples:

Take a look at: /phpdoc/RFC/coding_standards


-- 
Tutto e' possibile in Maggio.
   In May, everything is possible. -- Mario Bisio.




Re: [PHP-DOC] Indentation in mysql examples

2002-05-02 Thread Egon Schmid

From: Simone Cortesi [EMAIL PROTECTED]
 At 00.24 03/05/02 +0200, =?iso-8859-2?Q?S=B3awomir_Pucia?= wrote:

 Probably you didn't get the point.
 
 Since 1.101 many examples look like...
 
 ?php
  /* Connecting, selecting database */
  $link = mysql_connect(mysql_host, mysql_user,
mysql_password)
  or die(Could not connect);
  print Connected successfully;
 [...]
 
 Until 1.101 they looked like...
 
 ?php
 /* Connecting, selecting database */
 $link = mysql_connect(mysql_host, mysql_user,
mysql_password)
  or die(Could not connect);
 print Connected successfully;
 [...]
 
 The question is whether or not to use these 4 spaces in each
line. If yes, I
 will correct the rest of mysql related files, and use it in pl/.

 I've read that we should start at column 1 in examples:

 Take a look at: /phpdoc/RFC/coding_standards

Oh, it seems that Derick haven´t read the coding_standards :(

-Egon




[PHP-DOC] error in http://www.php.net/manual/en/faq.using.php

2002-05-02 Thread Eric Lambart

on this page: http://www.php.net/manual/en/faq.using.php

There is an error between items 5 and 6 on this page.  The code sample
and half of the text for answer #5 are actually from #6.

More specifically:

In #5, following the text The functions header(), set_cookie() and the
session functions need to add headers to the output stream. Headers can
only be sent before all other content 
there is a misplaced period, followed by the text of answer #6 starting
from the third word.

Have a look, you'll see what I mean.

There is no mention of ob_start() as I presume you folks meant to have
there.

Hope this helps, thanks for your great work.
--Eric

-- 
This message was created in a Microsoft-free computing environment.

NOTE:  This is a private email address, for use by my personal friends
and 
associates only.  Please do not EVER include me in mailings to multiple 
people, unless you use BCC.  If you forward this mail, you can keep my
name 
but remove the address, please.  Thanks!




[PHP-DOC] Bug #16882 Updated: HTML Help crashes opening php_manual_en.chm

2002-05-02 Thread andre

 ID:   16882
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: Documentation problem
 Operating System: Win XP
 PHP Version:  4.2.0
 New Comment:

I downloaded http://www.php.net/distributions/manual/php_manual_en.chm
again. Now the chm file is OK and opens in Winhelp.

Thanks


Previous Comments:


[2002-05-02 06:57:53] [EMAIL PROTECTED]

Try downloading the file again. hh.exe can't crashes on broken files.



[2002-04-28 04:38:33] [EMAIL PROTECTED]

What HTML Help is it actually. From php.net or from weblabor.hu?



[2002-04-27 21:13:23] [EMAIL PROTECTED]

HTML Help (latest version) crashes when opening php_manual_en.chm under
Windows XP Pro. hh.exe opens other documents (not from php document
page) correctly.

AppName: hh.exe  AppVer: 4.74.9273.0 ModName: itss.dll
ModVer: 4.72.8085.0  Offset: 252c

My preferred editor could open context sensitive help for a keyword
(e.g. PHP function) with one keystroke - so I consider properly working
HTML help a tremendous help in coding and debugging - compared to the
other available formats.




-- 
Edit this bug report at http://bugs.php.net/?id=16882edit=1




[PHP-DOC] Bug #16983: Spelling error under session_unset()

2002-05-02 Thread blakjak

From: [EMAIL PROTECTED]
Operating system: win2k
PHP version:  4.2.0
PHP Bug Type: Documentation problem
Bug description:  Spelling error under session_unset()

The manual entry for the function session_unset() has a line which reads:

The session_unset() function free's all session variables currently
registered.

The apostrophe in free's should be omitted.

Isn't pedantry wonderful?

BJ
-- 
Edit bug report at http://bugs.php.net/?id=16983edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16983r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16983r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16983r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16983r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16983r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16983r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16983r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16983r=submittedtwice




Re: [PHP-DOC] Indentation in mysql examples

2002-05-02 Thread derick

On Fri, 3 May 2002, Egon Schmid wrote:

 From: Simone Cortesi [EMAIL PROTECTED]
  At 00.24 03/05/02 +0200, =?iso-8859-2?Q?S=B3awomir_Pucia?= wrote:
 
  Probably you didn't get the point.
  
  Since 1.101 many examples look like...
  
  ?php
   /* Connecting, selecting database */
   $link = mysql_connect(mysql_host, mysql_user,
 mysql_password)
   or die(Could not connect);
   print Connected successfully;
  [...]
  
  Until 1.101 they looked like...
  
  ?php
  /* Connecting, selecting database */
  $link = mysql_connect(mysql_host, mysql_user,
 mysql_password)
   or die(Could not connect);
  print Connected successfully;
  [...]
  
  The question is whether or not to use these 4 spaces in each
 line. If yes, I
  will correct the rest of mysql related files, and use it in pl/.
 
  I've read that we should start at column 1 in examples:
 
  Take a look at: /phpdoc/RFC/coding_standards
 
 Oh, it seems that Derick haven´t read the coding_standards :(

I did, but it just sucks :) The four spaces indent looks much better.

Derick

---
 Did I help you? http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
 Frequent ranting: http://www.jdimedia.nl/derick/
---
 PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---




[PHP-DOC] Bug #16964 Updated: error in ODBC_FETCH_INTO()

2002-05-02 Thread Christianweg

 ID:   16964
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Winnt
 PHP Version:  4.2.0
 New Comment:

This was not a question to the support. I think The doku from PHP is
false. 
The Version 4.1 from PHP was this correct :int odbc_fetch_into ( int
result_id [, int rownumber, array
result_array].And in the Version 4.2 you must do int odbc_fetch_into (
int result_id [, array result_array, int
rownumber]). This is not correct.


Previous Comments:


[2002-05-02 10:25:54] [EMAIL PROTECTED]

It's a docu problem.



[2002-05-02 10:23:33] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Please read the manual.



[2002-05-02 09:21:31] [EMAIL PROTECTED]

Doku:
int odbc_fetch_into ( int result_id [, int rownumber, array
result_array])  don´t work

this is okay :
int odbc_fetch_into ( int result_id [, array result_array, int
rownumber])








-- 
Edit this bug report at http://bugs.php.net/?id=16964edit=1