[PHP-DOC] #23853 [NEW]: Bad french translation/Mauvaise translation en français

2003-05-29 Thread nils dot frisch at wanadoo dot fr
From: nils dot frisch at wanadoo dot fr
Operating system: Any
PHP version:  4.3.2RC4
PHP Bug Type: Documentation problem
Bug description:  Bad french translation/Mauvaise translation en français

The bug is located in the french version of the current 
online manual.
Point to the following page:
Chapter 9. Constants: http://fr2.php.net/constants

(This page speak about CONSTANTs.)
At a moment, under the paragraph named Syntaxe, the text 
tells:
Utilisez la fonction get_defined_constants() pour 
connaître la liste de toutes les fonctions définies.

It's not les fonctions définies, but les constantes 
définies.

Have a good day,


Nils FRISCH


(Si vous avez besoin d'une version française de ce mail, 
n'hésitez pas à me contacter.)
-- 
Edit bug report at http://bugs.php.net/?id=23853edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23853r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=23853r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=23853r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23853r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=23853r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=23853r=support
Expected behavior:  http://bugs.php.net/fix.php?id=23853r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=23853r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=23853r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=23853r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23853r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=23853r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=23853r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=23853r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #23853 [Opn-Csd]: Bad french translation/Mauvaise translation en français

2003-05-29 Thread didou
 ID:   23853
 Updated by:   [EMAIL PROTECTED]
 Reported By:  nils dot frisch at wanadoo dot fr
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.3.2RC4
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Merci ;)


Previous Comments:


[2003-05-28 08:20:37] nils dot frisch at wanadoo dot fr

The bug is located in the french version of the current 
online manual.
Point to the following page:
Chapter 9. Constants: http://fr2.php.net/constants

(This page speak about CONSTANTs.)
At a moment, under the paragraph named Syntaxe, the text 
tells:
Utilisez la fonction get_defined_constants() pour 
connaître la liste de toutes les fonctions définies.

It's not les fonctions définies, but les constantes 
définies.

Have a good day,


Nils FRISCH


(Si vous avez besoin d'une version française de ce mail, 
n'hésitez pas à me contacter.)




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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] xslt: lack of version info

2003-05-29 Thread Gabor Hojtsy
sorry, if this is a known limitation of the xslt-sheets.
xslt generated html (didn't test phpweb) lacks the version info from the 
functions. 
AFAIK the phpweb stuff has them. There are specific codes for this in 
the xsl sheets...

Goba

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DOC] Authors List, Contributor Resume

2003-05-29 Thread Gabor Hojtsy
Last I heard the discussion on the authors list for the PHP manual distilled
down to contributors submitting a resume of involvement in the
documentation project.  To that end I've got a merge of a scan though CVS
and my own memory below including links to diffs and/or compiled
documentation as appropriate and available.
http://frankenbox.alphaweb.net/php-resume.html
Hm, I must say that this is an impressive list ;) Still some of the 
items are very small changes, and the others are much bigger ones [or 
changes with a higher impact on the docs]. I think the next time this 
contributor crediting question comes up [probably after Linuxtag] you 
should send this in again. We will have some discussion on the topic at 
Linuxtag, it would probably help to finally settle on a method, and 
start adding contributors.

Goba

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DOC] #23835 [Opn]: setcookie doc out of date

2003-05-29 Thread et
 ID:  23835
 Updated by:  [EMAIL PROTECTED]
 Reported By: kruemelmonster at cookiecan dot de
 Status:  Open
 Bug Type:Documentation problem
 PHP Version: 4.3.2RC4
 New Comment:

Linking to the RFC instead of the Netscape docs would be wrong, because
PHP implements the Netscape version and not RFC 2109 or RFC 2965.
And if the PHP Manual says you pass the expires argument as an integer,
and the netscape docs say the expires attribute is a RFC822 Date
String, it's imho obvious that it gets autoconverted. Maybe specifics
should be changed into internals, if you think that is more
appropriate...


Previous Comments:


[2003-05-27 14:22:57] [EMAIL PROTECTED]

The text says: The following table explains each parameter of the
setcookie() function, be sure to read the Netscape cookie specification
 for specifics. Then the table says that the user need to use an
integer for the time. That is inconsistent. As there is no note that
the time is converted automatically.

Linking to the RFC instead of the Netscape docs is also more
standard.



[2003-05-27 12:59:29] [EMAIL PROTECTED]

The documentation tells the user correctly how to use setcookie().
IMHO, he doesn't need to know about RFC822 dates - in fact, it doesn't
help him at all. I'm not against adding a note in the manual page, but
i consider it unneccessary, especially since the netscape document
which states that the time in the header is a RFC822 date string is
linked for those who are interested in the internals, but the average
PHP user is not.



[2003-05-27 12:23:55] [EMAIL PROTECTED]

I don't agree that this is not a bug. The reference refers that the
netscape info, and there the expiration date is a string. This
time-string conversion is done by PHP however. This is not documented.
Also some links to the new RFCs would be good. They are more official
then the Netscape docs. Even if we don't support all of the options
fully.

BTW the question that the setcookie function needs a maxage paramater
is a feature request, please open another bug as a feature request for
that.



[2003-05-27 12:11:34] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The parameter you pass to setcookie() as a timestamp gets converted to
a date as specified by the rfc automatically. And there is nothing
wrong with using the netscape specification, it is supported by the
broadest range of browsers.



[2003-05-27 11:25:56] kruemelmonster at cookiecan dot de

the documentation of setcookie() suffers major inconsistencies.


from the setcookie() man page:


expire:
The time the cookie expires. This is a unix timestamp so is in number
of seconds since the epoch. In otherwords, you'll most likely set this
with the time() function plus the number of seconds before you want it
to expire. Or you might use mktime(). 


refers to the old netscape-spec
http://www.netscape.com/newsref/std/cookie_spec.html 
which clearly states: 


expires=DATE 
The expires attribute specifies a date string that defines the valid
life time of that cookie. Once the expiration date has been reached,
the cookie will no longer be stored or given out. 
The date string is formatted as: 

Wdy, DD-Mon- HH:MM:SS GMT
This is based on RFC 822, RFC 850, RFC 1036, and RFC 1123,... [snip]


unix_ts ? datestring?what gives?

please also consider the new specs published by the ietf:
http://www.ietf.org/rfc/rfc2109.txt
http://www.ietf.org/rfc/rfc2965.txt 
as posted by a user, implementing 'max-age'. 
 
either remove the explanation completely or correct it with a list of
the type:

expires:
   - unix_ts
   - datestring
and you might want to include max_age


thanx






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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/http/functions setcookie.xml

2003-05-29 Thread Philip Olson
philip  Wed May 28 12:10:11 2003 EDT

  Modified files:  
/phpdoc/en/reference/http/functions setcookie.xml 
  Log:
  Clarify expires parameter, link to RFC2965, and see alsos.  Closes bug #23835
  
  
Index: phpdoc/en/reference/http/functions/setcookie.xml
diff -u phpdoc/en/reference/http/functions/setcookie.xml:1.21 
phpdoc/en/reference/http/functions/setcookie.xml:1.22
--- phpdoc/en/reference/http/functions/setcookie.xml:1.21   Tue Feb 18 06:27:40 
2003
+++ phpdoc/en/reference/http/functions/setcookie.xmlWed May 28 12:10:11 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.21 $ --
+!-- $Revision: 1.22 $ --
 !-- splitted from ./en/functions/http.xml, last change in rev 1.2 --
   refentry id=function.setcookie
refnamediv
@@ -48,8 +48,10 @@
  be skipped with an empty string, use a zero (emphasis0/emphasis)
  instead.  The following table explains each parameter of the 
  functionsetcookie/function function, be sure to read the  
- ulink url=spec.cookies;Netscape cookie specification/ulink
- for specifics.
+ ulink url=spec.cookies;Netscape cookie specification/ulink for
+ specifics on how each functionsetcookie/function parameter works
+ and ulink url=url.rfc;2965RFC 2965/ulink for additional
+ information on how HTTP cookies work. 
 /para
 para
  table
@@ -295,7 +297,14 @@
 para
  For more information on cookies, see Netscape's cookie
  specification at ulink
- url=spec.cookies;spec.cookies;/ulink.
+ url=spec.cookies;spec.cookies;/ulink and 
+ ulink url=url.rfc;2965RFC 2965/ulink.
+/para
+para
+ You may notice the parameterexpire/parameter parameter takes on a
+ unix timestamp, as opposed to the date format literalWdy, DD-Mon-
+ HH:MM:SS GMT/literal, this is because PHP does this conversion
+ internally.
 /para
 simpara
  Microsoft Internet Explorer 4 with Service Pack 1 applied does
@@ -307,6 +316,10 @@
  appear to handle cookies incorrectly when the path and time
  are not set.
 /simpara
+para
+ See also functionheader/function and the 
+ link linkend=features.cookiescookies section/link.
+/para
/refsect1
   /refentry
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] #23835 [Opn-Csd]: setcookie doc out of date

2003-05-29 Thread philip
 ID:  23835
 Updated by:  [EMAIL PROTECTED]
 Reported By: kruemelmonster at cookiecan dot de
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 4.3.2RC4
 New Comment:

This is now documented and will show up during the next manual build,
thanks for the report :)

http://cvs.php.net/cvs.php/phpdoc/en/reference/http/functions/setcookie.xml

Too much information won't hurt anyone here, should be clearer now :)


Previous Comments:


[2003-05-28 10:19:40] [EMAIL PROTECTED]

Linking to the RFC instead of the Netscape docs would be wrong, because
PHP implements the Netscape version and not RFC 2109 or RFC 2965.
And if the PHP Manual says you pass the expires argument as an integer,
and the netscape docs say the expires attribute is a RFC822 Date
String, it's imho obvious that it gets autoconverted. Maybe specifics
should be changed into internals, if you think that is more
appropriate...



[2003-05-27 14:22:57] [EMAIL PROTECTED]

The text says: The following table explains each parameter of the
setcookie() function, be sure to read the Netscape cookie specification
 for specifics. Then the table says that the user need to use an
integer for the time. That is inconsistent. As there is no note that
the time is converted automatically.

Linking to the RFC instead of the Netscape docs is also more
standard.



[2003-05-27 12:59:29] [EMAIL PROTECTED]

The documentation tells the user correctly how to use setcookie().
IMHO, he doesn't need to know about RFC822 dates - in fact, it doesn't
help him at all. I'm not against adding a note in the manual page, but
i consider it unneccessary, especially since the netscape document
which states that the time in the header is a RFC822 date string is
linked for those who are interested in the internals, but the average
PHP user is not.



[2003-05-27 12:23:55] [EMAIL PROTECTED]

I don't agree that this is not a bug. The reference refers that the
netscape info, and there the expiration date is a string. This
time-string conversion is done by PHP however. This is not documented.
Also some links to the new RFCs would be good. They are more official
then the Netscape docs. Even if we don't support all of the options
fully.

BTW the question that the setcookie function needs a maxage paramater
is a feature request, please open another bug as a feature request for
that.



[2003-05-27 12:11:34] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The parameter you pass to setcookie() as a timestamp gets converted to
a date as specified by the rfc automatically. And there is nothing
wrong with using the netscape specification, it is supported by the
broadest range of browsers.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23835

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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.phptodo.txt

2003-05-29 Thread Derick Rethans
On Tue, 27 May 2003, Moshe Doron wrote:

 momo  Tue May 27 06:43:46 2003 EDT
 
   Modified files:  
 /phpdoc/scripts/rtlpatch  HtmlExtParser.class.php todo.txt 
   Log:
   more optimizations

Your patched totally broke the index generation for the CHM HE manual, 
the parser exports in a totally different format and thus the index 
generator doesnt work at all, for example:

en/index.html:

HTML  HEAD  TITLE  PHP Manual/TITLE
META  NAME=GENERATOR CONTENT=Modular DocBook HTML Stylesheet 
Version 1.7BODY TOPMARGIN=0 LEFTMARGIN=0  CLASS=book 
BGCOLOR=#FF TEXT=#0WIDTH=100% BORDER=0 
CELLPADDING=3 CELLSPACING=0TRTH COLSPAN=
/DIV/TD/TRTRTDIMG SRC=spacer.gif WIDTH=10 
HEIGHT=1/TDDIV  CLASS=TITLEPAGE H1  CLASS=title A  
NAME=bookinfo /A
PHP Manual/H1
DIV  CLASS=author Stig Sæther Bakken/DIV

vs.

he/index.html:

html 
head 
title 
 îãøéê PHP 
 /title
meta  name=GENERATOR content=Modular DocBook HTML Stylesheet Version 
1.7
link  rel=NEXT title=ä÷ãîä href=preface.html
meta  http-equiv=Content-type content=text/html; 
charset=Windows-1255
 /head
body  class=book bgcolor=#FF text=#00 link=#FF 
vlink=#8400div  class=BOOK dir=rtl
a  name=manual
 /a
div  class=TITLEPAGE dir=rtl
h1  class=title
a  name=bookinfo
 /a
 îãøéê PHP 
 /h1
div  class=author dir=rtl
 Stig S#230;ther Bakken



Please fix the output of your parser so that the indexer works again.

regards,
Derick

-- 
my other box is your windows PC
-
 Derick Rethans http://derickrethans.nl/ 
 International PHP Magazine  http://php-mag.net/
-

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/dir/functions scandir.xml

2003-05-29 Thread Philip Olson
philip  Wed May 28 14:28:14 2003 EDT

  Added files: 
/phpdoc/en/reference/dir/functions  scandir.xml 
  Log:
  Initial documentation.
  
  

Index: phpdoc/en/reference/dir/functions/scandir.xml
+++ phpdoc/en/reference/dir/functions/scandir.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id=function.scandir
   refnamediv
refnamescandir/refname
refpurpose
 List files and directories inside the specified path
/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typearray/typemethodnamescandir/methodname
  methodparamtypestring/typeparameterdirectory/parameter/methodparam
  methodparam 
choice=opttypeint/typeparametersorting_order/parameter/methodparam
 /methodsynopsis
para
 Returns an typearray/type of files and directories from the 
 parameterdirectory/parameter.  If parameterdirectory/parameter
 is not a directory, then boolean false; is returned, and an error of
 level constantE_WARNING/constant is generated.
/para
para
 By default, the sorted order is alphabetical in ascending order.  If
 the optional parametersorting_order/parameter is used (set to 1),
 then sort order is alphabetical in descending order.
/para
para
 example
  titleA simple functionscandir/function example/title
  programlisting role=php
![CDATA[
?php
$dir= '/tmp';
$files1 = scandir($dir);
$files2 = scandir($dir, 1);

print_r($files1);
print_r($files2);

/* Outputs something like:
Array
(
[0] = .
[1] = ..
[2] = bar.php
[3] = foo.txt
[4] = somedir
)
Array
(
[0] = somedir
[1] = foo.txt
[2] = bar.php
[3] = ..
[4] = .
)
*/
?
]]
  /programlisting
 /example
/para
para
 example
  titlePHP 4 alternatives to functionscandir/function/title
  programlisting role=php
![CDATA[
?php
$dir = /tmp;
$dh  = opendir($dir);
while (false !== ($filename = readdir($dh))) {
$files[] = $filename;
}

sort($files);

print_r($files);

rsort($files);

print_r($files);

/* Outputs something like:
Array
(
[0] = .
[1] = ..
[2] = bar.php
[3] = foo.txt
[4] = somedir
)
Array
(
[0] = somedir
[1] = foo.txt
[2] = bar.php
[3] = ..
[4] = .
)
*/
?
]]
  /programlisting
 /example
/para
para
 See also functionopendir/function,
 functionreaddir/function,
 functionglob/function, 
 functionis_dir/function, and
 functionsort/function.
/para
   /refsect1
  /refentry

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



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/faq using.xml /entities global.ent

2003-05-29 Thread Philip Olson
philip  Wed May 28 14:43:22 2003 EDT

  Modified files:  
/phpdoc/en/faq  using.xml 
/phpdoc/entitiesglobal.ent 
  Log:
  Link to even more pdf library alternatives, as per didou's suggestion in bug #22049
  
  
Index: phpdoc/en/faq/using.xml
diff -u phpdoc/en/faq/using.xml:1.25 phpdoc/en/faq/using.xml:1.26
--- phpdoc/en/faq/using.xml:1.25Thu May 15 12:12:44 2003
+++ phpdoc/en/faq/using.xml Wed May 28 14:43:22 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.25 $ --
+!-- $Revision: 1.26 $ --
 chapter id=faq.using
   titleUsing PHP/title
   titleabbrevUsing PHP/titleabbrev
@@ -342,10 +342,12 @@
 /question
 answer
  para
-  There are a few alternatives such as 
-  ulink url=url.pdf.ros;url.pdf.ros;/ulink and 
-  ulink url=url.pdf.fpdf;url.pdf.fpdf;/ulink.  Both 
-  are free and well documented.
+  There are a few alternatives written in PHP such as 
+  ulink url=url.pdf.ros;url.pdf.ros;/ulink, 
+  ulink url=url.pdf.fpdf;url.pdf.fpdf;/ulink, 
+  ulink url=url.pdf.pdf4php;url.pdf.pdf4php;/ulink, and 
+  ulink url=url.pdf.phppdflib;url.pdf.phppdflib;/ulink.
+  There is also the ulink url=url.pdf.panda;Panda/ulink module.
  /para
 /answer
/qandaentry
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.109 phpdoc/entities/global.ent:1.110
--- phpdoc/entities/global.ent:1.109Wed May 28 14:34:52 2003
+++ phpdoc/entities/global.ent  Wed May 28 14:43:22 2003
@@ -1,6 +1,6 @@
 !-- -*- SGML -*-
 
- $Id: global.ent,v 1.109 2003/05/28 18:34:52 philip Exp $
+ $Id: global.ent,v 1.110 2003/05/28 18:43:22 philip Exp $
 
  Contains global macros for all the XML documents.
 
@@ -175,6 +175,9 @@
 !ENTITY url.pcre ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/;
 !ENTITY url.pdf http://www.pdflib.com/pdflib/index.html;
 !ENTITY url.pdf.fpdf http://www.fpdf.org/;
+!ENTITY url.pdf.panda http://www.stillhq.com/cgi-bin/getpage?area=panda;
+!ENTITY url.pdf.pdf4php http://www.gnuvox.com/pdf4php/;
+!ENTITY url.pdf.phppdflib http://www.potentialtech.com/ppl.php;
 !ENTITY url.pdf.ros http://www.ros.co.nz/pdf/;
 !ENTITY url.pdflib.merz http://www.pdflib.com/corporate/tm.html;
 !ENTITY url.pear.net-dns http://pear.php.net/Net_DNS;



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2003-05-29 Thread Sara Golemon
pollita Wed May 28 15:27:34 2003 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-shutdown.xml 
  Log:
  Document socket_shutdown().
  Patch Submitted by Davey Shafik ([EMAIL PROTECTED]).
  
  
Index: phpdoc/en/reference/sockets/functions/socket-shutdown.xml
diff -u phpdoc/en/reference/sockets/functions/socket-shutdown.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-shutdown.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-shutdown.xml:1.2   Wed Apr 17 
02:44:11 2002
+++ phpdoc/en/reference/sockets/functions/socket-shutdown.xml   Wed May 28 15:27:34 
2003
@@ -1,5 +1,5 @@
 ?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-shutdown
refnamediv
@@ -15,7 +15,37 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The functionsocket_shutdown/function function allows you to stop
+ incoming, outgoing or all data (the default) from being sent through the
+ parametersocket/parameter
+/para
+para
+ The value of parameterhow/parameter can be one of the following:
+ table
+  titlepossible values for parameterhow/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0/literal/entry
+ entry
+  Shutdown socket reading
+ /entry
+/row
+row
+ entryliteral1/literal/entry
+ entry
+  Shutdown socket writing
+ /entry
+/row
+row
+ entryliteral2/literal/entry
+ entry
+  Shutdown socket reading and writing
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
 /para
/refsect1
   /refentry



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] Re: socket_send docs

2003-05-29 Thread Davey
Oops, I made a mistake (a redundant 'to'), heres the new diff:

Index: socket-send.xml
===
RCS file: 
/repository/phpdoc/en/reference/sockets/functions/socket-send.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-send.xml
--- socket-send.xml	17 Apr 2002 06:44:10 -	1.2
+++ socket-send.xml	28 May 2003 21:21:28 -
@@ -10,14 +10,74 @@
 titleDescription/title
  methodsynopsis
   typeint/typemethodnamesocket_send/methodname
- 
methodparamtyperesource/typeparametersocket/parameter/methodparam
- 
methodparamtypestring/typeparameterbuf/parameter/methodparam
-  methodparamtypeint/typeparameterlen/parameter/methodparam
- 
methodparamtypeint/typeparameterflags/parameter/methodparam
+  methodparam
+   typeresource/type
+   parametersocket/parameter
+  /methodparam
+  methodparam
+	   typestring/type
+	   parameterbuf/parameter
+	  /methodparam
+  methodparam
+	   typeint/type
+	   parameterlen/parameter
+	  /methodparam
+  methodparam
+	   typeint/type
+	   parameterflags/parameter
+	  /methodparam
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_send/function sends
+ parameterlen/parameter bytes to the socket
+ parametersocket/parameter from parameterbuf/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+para
+ See also
+ functionsocket_sendmsg/function and
+ functionsocket_sendto/function.
 /para
/refsect1
   /refentry

Davey wrote:
heres a small diff for the socket_send documentation for someone to commit.

Pollita already commited by socket_shutdown docs, I'm working on quite a 
few others, will have socket_sendmsg and socket_sendto done pretty 
quickly, they're pretty much the same as this.

Will consider asking for phpdoc karma if my DocBook skills are upto 
scratch (thats upto you to judge!) - do I ask here of do I need to ask 
from the php website as with my pear karma?

- Davey

Index: socket-send.xml
===
RCS file: 
/repository/phpdoc/en/reference/sockets/functions/socket-send.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-send.xml
--- socket-send.xml17 Apr 2002 06:44:10 -1.2
+++ socket-send.xml28 May 2003 20:34:03 -
@@ -10,14 +10,74 @@
 titleDescription/title
  methodsynopsis
   typeint/typemethodnamesocket_send/methodname
- 
methodparamtyperesource/typeparametersocket/parameter/methodparam 

- methodparamtypestring/typeparameterbuf/parameter/methodparam
-  
methodparamtypeint/typeparameterlen/parameter/methodparam
- methodparamtypeint/typeparameterflags/parameter/methodparam
+  methodparam
+   typeresource/type
+   parametersocket/parameter
+  /methodparam
+  methodparam
+   typestring/type
+   parameterbuf/parameter
+  /methodparam
+  methodparam
+   typeint/type
+   parameterlen/parameter
+  /methodparam
+  methodparam
+   typeint/type
+   parameterflags/parameter
+  /methodparam
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_send/function sends to
+ parameterlen/parameter bytes to the socket
+ parametersocket/parameter from parameterbuf/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+ 

[PHP-DOC] socket_send diff

2003-05-29 Thread Davey
Here you go, hope this is OK

- Davey
Index: socket-send.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/functions/socket-send.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-send.xml
--- socket-send.xml 17 Apr 2002 06:44:10 -  1.2
+++ socket-send.xml 28 May 2003 21:34:39 -
@@ -17,7 +17,55 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_send/function sends
+ parameterlen/parameter bytes to the socket 
+ parametersocket/parameter from parameterbuf/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the 
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+para
+ See also 
+ functionsocket_sendmsg/function and
+ functionsocket_sendto/function.
 /para
/refsect1
   /refentry
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-05-29 Thread Sara Golemon
pollita Wed May 28 17:43:05 2003 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-send.xml 
  Log:
  Document socket_send()
  Patch submitted by Dave Shafik ([EMAIL PROTECTED])
  
  
Index: phpdoc/en/reference/sockets/functions/socket-send.xml
diff -u phpdoc/en/reference/sockets/functions/socket-send.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-send.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-send.xml:1.2   Wed Apr 17 02:44:10 
2002
+++ phpdoc/en/reference/sockets/functions/socket-send.xml   Wed May 28 17:43:05 
2003
@@ -1,5 +1,5 @@
 ?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-send
refnamediv
@@ -17,7 +17,55 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_send/function sends
+ parameterlen/parameter bytes to the socket 
+ parametersocket/parameter from parameterbuf/parameter
+/para
+para
+ The value of parameterflags/parameter can be any
+ literalORed/literal combination of the following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  Process OOB (out-of-band) data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  Peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  Bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  Data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  Data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+para
+ See also 
+ functionsocket_sendmsg/function and
+ functionsocket_sendto/function.
 /para
/refsect1
   /refentry



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] socket_sendto docs

2003-05-29 Thread Davey
Heres the diff, added an example so its a bit more complex, hope its OK:

Index: socket-sendto.xml
===
RCS file: 
/repository/phpdoc/en/reference/sockets/functions/socket-sendto.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-sendto.xml
--- socket-sendto.xml	17 Apr 2002 06:44:10 -	1.2
+++ socket-sendto.xml	28 May 2003 21:47:00 -
@@ -19,7 +19,76 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_sendto/function sends
+ parameterlen/parameter bytes from parameterbuf/parameter
+ through the socket parametersocket/parameter to the
+ parameterport/parameter at the address parameteraddr/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+example
+ titlefunctionsocket_sendto/function Example/title
+ programlisting role=php
+![CDATA[
+?php
+$sh = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
+if (socket_bind($sh,'127.0.0.1',4242)) {
+echo Socket bound correctly;
+}
+$buf = 'Test Message';
+$len = strlen($buf);
+if(socket_sendto($sh,$buf,$len,0x100,'192.168.0.2',4242) !== FALSE) {
+echo Message sent correctly;
+}
+socket_close($sh;
+?
+]]
+ /programlisting
+/example
+para
+ See also
+ functionsocket_send/function and
+ functionsocket_sendmsg/function.
+/para
 /para
/refsect1
   /refentry

- Davey

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DOC] Re: socket_sendto docs

2003-05-29 Thread Davey
Davey wrote:
Heres the diff, added an example so its a bit more complex, hope its OK:


and here it is attached instead of in-line, I *will* get it right next 
time :)

- Davey
Index: socket-sendto.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/functions/socket-sendto.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-sendto.xml
--- socket-sendto.xml   17 Apr 2002 06:44:10 -  1.2
+++ socket-sendto.xml   28 May 2003 21:47:00 -
@@ -19,7 +19,76 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_sendto/function sends 
+ parameterlen/parameter bytes from parameterbuf/parameter 
+ through the socket parametersocket/parameter to the 
+ parameterport/parameter at the address parameteraddr/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the 
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+example
+ titlefunctionsocket_sendto/function Example/title
+ programlisting role=php
+![CDATA[
+?php
+$sh = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
+if (socket_bind($sh,'127.0.0.1',4242)) {
+echo Socket bound correctly;
+}
+$buf = 'Test Message';
+$len = strlen($buf);
+if(socket_sendto($sh,$buf,$len,0x100,'192.168.0.2',4242) !== FALSE) {
+echo Message sent correctly;
+}
+socket_close($sh;
+?
+]]
+ /programlisting
+/example
+para
+ See also 
+ functionsocket_send/function and
+ functionsocket_sendmsg/function.
+/para
 /para
/refsect1
   /refentry
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DOC] Re: socket_sendto docs

2003-05-29 Thread Davey
Davey wrote:
Heres the diff, added an example so its a bit more complex, hope its OK:
And again with better whitespace in the example, the extraneous /para 
removed and the missing ) on socket_close($sh); put in!

- Davey
Index: socket-sendto.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/functions/socket-sendto.xml,v
retrieving revision 1.2
diff -u -r1.2 socket-sendto.xml
--- socket-sendto.xml   17 Apr 2002 06:44:10 -  1.2
+++ socket-sendto.xml   28 May 2003 21:53:33 -
@@ -19,7 +19,75 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_sendto/function sends 
+ parameterlen/parameter bytes from parameterbuf/parameter 
+ through the socket parametersocket/parameter to the 
+ parameterport/parameter at the address parameteraddr/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the 
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  process out-of-band data
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  peek at incoming message
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  bypass routing, use direct interface
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  data completes record
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  data completes transaction
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+example
+ titlefunctionsocket_sendto/function Example/title
+ programlisting role=php
+![CDATA[
+?php
+$sh = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
+if (socket_bind($sh, '127.0.0.1', 4242)) {
+echo Socket bound correctly;
+}
+$buf = 'Test Message';
+$len = strlen($buf);
+if(socket_sendto($sh, $buf, $len, 0x100, '192.168.0.2', 4242) !== FALSE) {
+echo Message sent correctly;
+}
+socket_close($sh);
+?
+]]
+ /programlisting
+/example
+para
+ See also 
+ functionsocket_send/function and
+ functionsocket_sendmsg/function.
 /para
/refsect1
   /refentry
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DOC] Re: socket_sendto docs

2003-05-29 Thread Derick Rethans
On Wed, 28 May 2003, Davey wrote:

 Davey wrote:
  Heres the diff, added an example so its a bit more complex, hope its OK:
 
 And again with better whitespace in the example, the extraneous /para 
 removed and the missing ) on socket_close($sh); put in!

Ask for karma instead of spamming! :)

Derick

-- 
my other box is your windows PC
-
 Derick Rethans http://derickrethans.nl/ 
 International PHP Magazine  http://php-mag.net/
-

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2003-05-29 Thread Sara Golemon
pollita Wed May 28 17:56:04 2003 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-sendto.xml 
  Log:
  Document socket_sendto()
  Patch by Dave Shafik ([EMAIL PROTECTED])
  
  
Index: phpdoc/en/reference/sockets/functions/socket-sendto.xml
diff -u phpdoc/en/reference/sockets/functions/socket-sendto.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-sendto.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-sendto.xml:1.2 Wed Apr 17 02:44:10 
2002
+++ phpdoc/en/reference/sockets/functions/socket-sendto.xml Wed May 28 17:56:04 
2003
@@ -1,5 +1,5 @@
 ?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-sendto
refnamediv
@@ -19,7 +19,75 @@
  /methodsynopsis
  warn.experimental.func;
 para
- warn.undocumented.func;
+ The function functionsocket_sendto/function sends 
+ parameterlen/parameter bytes from parameterbuf/parameter 
+ through the socket parametersocket/parameter to the 
+ parameterport/parameter at the address parameteraddr/parameter
+/para
+para
+ The value of parameterflags/parameter can be one of the 
+ following:
+ table
+  titlepossible values for parameterflags/parameter/title
+  tgroup cols=2
+   tbody
+row
+ entryliteral0x1/literal/entry
+ entry
+  Process OOB (out-of-band) data.
+ /entry
+/row
+row
+ entryliteral0x2/literal/entry
+ entry
+  Peek at incoming message.
+ /entry
+/row
+row
+ entryliteral0x4/literal/entry
+ entry
+  Bypass routing, use direct interface.
+ /entry
+/row
+row
+ entryliteral0x8/literal/entry
+ entry
+  Data completes record.
+ /entry
+/row
+row
+ entryliteral0x100/literal/entry
+ entry
+  Data completes transaction.
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
+/para
+example
+ titlefunctionsocket_sendto/function Example/title
+ programlisting role=php
+![CDATA[
+?php
+$sh = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
+if (socket_bind($sh, '127.0.0.1', 4242)) {
+echo Socket bound correctly;
+}
+$buf = 'Test Message';
+$len = strlen($buf);
+if (socket_sendto($sh, $buf, $len, 0x100, '192.168.0.2', 4242) !== FALSE) {
+echo Message sent correctly;
+}
+socket_close($sh);
+?
+]]
+ /programlisting
+/example
+para
+ See also 
+ functionsocket_send/function and
+ functionsocket_sendmsg/function.
 /para
/refsect1
   /refentry



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /en/reference/sockets/functionssocket-sendto.xml

2003-05-29 Thread Philip Olson

Examples should not be indented like this, instead,
do this:

?php
$sh = socket...

Regards,
Philip


 + programlisting role=php
 +![CDATA[
 +?php
 +$sh = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
 +if (socket_bind($sh, '127.0.0.1', 4242)) {
 +echo Socket bound correctly;
 +}
 +$buf = 'Test Message';
 +$len = strlen($buf);
 +if (socket_sendto($sh, $buf, $len, 0x100, '192.168.0.2', 4242) !== FALSE) {
 +echo Message sent correctly;
 +}
 +socket_close($sh);
 +?
 +]]
 + /programlisting
 +/example
 +para
 + See also 
 + functionsocket_send/function and
 + functionsocket_sendmsg/function.
  /para
 /refsect1
/refentry
 
 
 
 -- 
 PHP Documentation Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-sendto.xml

2003-05-29 Thread Sara Golemon
 Examples should not be indented like this, instead,
 do this:

 ?php
 $sh = socket...

Philip, why are you online and not in IRC where you belong? . o O ( One of
us, one of us!!! )

I ate crow for letting it slip through and Davey took his lashing like a
good boy.

:)



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] sockets/constants.xml and socket_create doc changes

2003-05-29 Thread Davey
Here are some small changes to these docs. (attached!)

- Davey
Index: socket-create.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/functions/socket-create.xml,v
retrieving revision 1.5
diff -u -r1.5 socket-create.xml
--- socket-create.xml   17 Apr 2003 21:44:32 -  1.5
+++ socket-create.xml   28 May 2003 22:15:42 -
@@ -118,8 +118,8 @@
  protocol within the specified parameterdomain/parameter to be used
  when communicating on the returned socket. The proper value can be retrieved by 
  name by using functiongetprotobyname/function. If 
- the desired protocol is TCP, or UDP the corresponding constants 
- constantSOL_TCP/constant, and constantSOL_UDP/constant 
+ the desired protocol is TCP, UDP or a Unix SOCKET the corresponding constants 
+ constantSOL_TCP/constant, constantSOL_UDP/constant and 
constantSOL_SOCKET/constant 
  can also be used.
 /para
 tableIndex: constants.xml
===
RCS file: /repository/phpdoc/en/reference/sockets/constants.xml,v
retrieving revision 1.2
diff -u -r1.2 constants.xml
--- constants.xml   17 Apr 2003 21:44:32 -  1.2
+++ constants.xml   28 May 2003 22:13:53 -
@@ -303,7 +303,7 @@
   /varlistentry
   varlistentry
term
-constantSOL_SOCKET/constant 
+constantPHP_NORMAL_READ/constant 
 (link linkend=language.types.integerinteger/link)
/term
listitem
@@ -314,7 +314,7 @@
   /varlistentry
   varlistentry
term
-constantPHP_NORMAL_READ/constant 
+constantPHP_BINARY_READ/constant 
 (link linkend=language.types.integerinteger/link)
/term
listitem
@@ -325,7 +325,7 @@
   /varlistentry
   varlistentry
term
-constantPHP_BINARY_READ/constant 
+constantSOL_SOCKET/constant 
 (link linkend=language.types.integerinteger/link)
/term
listitem
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DOC] #23795 [Bgs]: .chm's pre tags in examples WERE displayed as one line

2003-05-29 Thread akos987 at cs dot elte dot hu
 ID:   23795
 User updated by:  akos987 at cs dot elte dot hu
 Reported By:  akos987 at cs dot elte dot hu
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.3.1
 Assigned To:  derick
 New Comment:

Any insectologist daring to face the fearful may arrange the encounter
at 

http://chardonnay.math.bme.hu/~akos987/php_manual_hu.chm,

in the now-out-of-date Hungarian php manual.
(This is a limited-time offer as I don't have any amount of webspace.
No application fee, however, especially as the Open Publication License
v1.0 is kept in sight;-)

I know the particular being is dead, but refuse to consider it
never-existent. (That's the meaning of closed, not to
completely forget about past errors, though fixed they are.)
Yet if the creature eventually COULD fly out somehow -
and it did so and right at the php.net/download-docs page -,
one might feel quite embarrassed not to know of any particular reason
that killed (or at least dewinged) it.

The scientific classification may remain bogus for ever, but then I
hope not having any ``bogus'' of that size beneath my favourite
wardrobe. Not even dead, closed, killed, extinct.

  Akos


Previous Comments:


[2003-05-28 07:22:36] [EMAIL PROTECTED]

Keep it bogus, there were no changes at all.



[2003-05-28 07:07:55] akos987 at cs dot elte dot hu

The pre-05/23/2003 version -- I insist -- had the problem,
but the HU .chm has already been rebuilt (and so has the EN one), the
current version(s) is (are) OK.

Bogus - closed, I prefer.
(Or you should add a `temporal discrepancy in the space-time continuum'
category, which might not be your intention...)

  Akos



[2003-05-25 05:07:40] [EMAIL PROTECTED]

They definitely don't. Atleast I couldnt find that anywhere in the .hu
manual.



[2003-05-25 05:01:09] [EMAIL PROTECTED]

If I read correctly, Akos says that all the examples display on one
line instead of multiple lines, which are intended to. That seems to be
a bug for me... Derick?



[2003-05-25 04:48:42] [EMAIL PROTECTED]

That's the meaing of PRE, do not break lines. Not a bug - bogus



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23795

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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/appendices reserved.constants.core.xml

2003-05-29 Thread Philip Olson
philip  Wed May 28 19:08:19 2003 EDT

  Modified files:  
/phpdoc/en/appendices   reserved.constants.core.xml 
  Log:
  Typos.
  
  
Index: phpdoc/en/appendices/reserved.constants.core.xml
diff -u phpdoc/en/appendices/reserved.constants.core.xml:1.5 
phpdoc/en/appendices/reserved.constants.core.xml:1.6
--- phpdoc/en/appendices/reserved.constants.core.xml:1.5Wed May 28 19:03:06 
2003
+++ phpdoc/en/appendices/reserved.constants.core.xmlWed May 28 19:08:19 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
  refentry id=reserved.constants.core
   refnamediv
refnameCore Predefined Constants/refname
@@ -37,7 +37,7 @@
 varlistentry
  term
   constantDEFAULT_INCLUDE_PATH/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -48,7 +48,7 @@
 varlistentry
  term
   constantPEAR_INSTALL_DIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -59,7 +59,7 @@
 varlistentry
  term
   constantPEAR_EXTENSION_DIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -70,7 +70,7 @@
 varlistentry
  term
   constantPHP_EXTENSION_DIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -81,7 +81,7 @@
 varlistentry
  term
   constantPHP_BINDIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -92,7 +92,7 @@
 varlistentry
  term
   constantPHP_LIBDIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -103,7 +103,7 @@
 varlistentry
  term
   constantPHP_DATADIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -114,7 +114,7 @@
 varlistentry
  term
   constantPHP_SYSCONFDIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -125,7 +125,7 @@
 varlistentry
  term
   constantPHP_LOCALSTATEDIR/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara
@@ -136,7 +136,7 @@
 varlistentry
  term
   constantPHP_CONFIG_FILE_PATH/constant 
-  (typestring/link)
+  (typestring/type)
  /term
  listitem
   simpara



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagesavealpha.xml

2003-05-29 Thread Mehdi Achour
didou   Wed May 28 20:06:13 2003 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagesavealpha.xml 
  Log:
  undefined function
  
Index: phpdoc/en/reference/image/functions/imagesavealpha.xml
diff -u phpdoc/en/reference/image/functions/imagesavealpha.xml:1.1 
phpdoc/en/reference/image/functions/imagesavealpha.xml:1.2
--- phpdoc/en/reference/image/functions/imagesavealpha.xml:1.1  Sat Mar  1 06:49:17 
2003
+++ phpdoc/en/reference/image/functions/imagesavealpha.xml  Wed May 28 20:06:13 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.36 --
  refentry id=function.imagesavealpha
   refnamediv
@@ -19,7 +19,7 @@
  channel information (as opposed to single-color transparency) when saving PNG 
images.
/para
para
- You have to unset alphablending (functionimagealphaplending/function($im, 
false;)) to use it.
+ You have to unset alphablending (functionimagealphablending/function($im, 
false;)) to use it.
/para
para
  Alpha channel is not supported by all browsers, if you have problem with



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagesavealpha.xml

2003-05-29 Thread Philip Olson
philip  Wed May 28 21:08:55 2003 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagesavealpha.xml 
  Log:
  Layout fix.
  
  
Index: phpdoc/en/reference/image/functions/imagesavealpha.xml
diff -u phpdoc/en/reference/image/functions/imagesavealpha.xml:1.2 
phpdoc/en/reference/image/functions/imagesavealpha.xml:1.3
--- phpdoc/en/reference/image/functions/imagesavealpha.xml:1.2  Wed May 28 20:06:13 
2003
+++ phpdoc/en/reference/image/functions/imagesavealpha.xml  Wed May 28 21:08:55 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.36 --
  refentry id=function.imagesavealpha
   refnamediv
@@ -19,7 +19,8 @@
  channel information (as opposed to single-color transparency) when saving PNG 
images.
/para
para
- You have to unset alphablending (functionimagealphablending/function($im, 
false;)) to use it.
+ You have to unset alphablending 
+ (literalimagealphaplending($im,false;)/literal), to use it.
/para
para
  Alpha channel is not supported by all browsers, if you have problem with



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagesavealpha.xml

2003-05-29 Thread Philip Olson
philip  Wed May 28 21:13:50 2003 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagesavealpha.xml 
  Log:
  Whitespace.
  
  
Index: phpdoc/en/reference/image/functions/imagesavealpha.xml
diff -u phpdoc/en/reference/image/functions/imagesavealpha.xml:1.3 
phpdoc/en/reference/image/functions/imagesavealpha.xml:1.4
--- phpdoc/en/reference/image/functions/imagesavealpha.xml:1.3  Wed May 28 21:08:55 
2003
+++ phpdoc/en/reference/image/functions/imagesavealpha.xml  Wed May 28 21:13:50 
2003
@@ -1,11 +1,13 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.36 --
  refentry id=function.imagesavealpha
   refnamediv
refnameimagesavealpha/refname
-   refpurposeSet the flag to save full alpha channel information (as opposed to
-   single-color transparency) when saving PNG images./refpurpose
+   refpurpose
+Set the flag to save full alpha channel information (as opposed to
+single-color transparency) when saving PNG images.
+   /refpurpose
   /refnamediv
   refsect1
titleDescription/title
@@ -13,19 +15,20 @@
  typebool/typemethodnameimagesavealpha/methodname
  methodparamtyperesource/typeparameterimage/parameter/methodparam
  methodparamtypebool/typeparametersaveflag/parameter/methodparam
-  /methodsynopsis
+/methodsynopsis
para
-functionimagesavealpha/function sets the flat to attempt to save full alpha
- channel information (as opposed to single-color transparency) when saving PNG 
images.
+functionimagesavealpha/function sets the flat to attempt to save
+full alpha channel information (as opposed to single-color transparency)
+when saving PNG images. 
/para
para
- You have to unset alphablending 
- (literalimagealphaplending($im,false;)/literal), to use it.
+You have to unset alphablending 
+(literalimagealphaplending($im,false;)/literal), to use it.
/para
para
- Alpha channel is not supported by all browsers, if you have problem with
- your browser, try to load your script with a alpha channel compliant
- browser, e.g. latest Mozilla.
+Alpha channel is not supported by all browsers, if you have problem with
+your browser, try to load your script with a alpha channel compliant
+browser, e.g. latest Mozilla.
/para
para
 See also functionimagealphablending/function.



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagesavealpha.xml

2003-05-29 Thread Mehdi Achour
didou   Wed May 28 21:20:40 2003 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsimagesavealpha.xml 
  Log:
  more typos
  
Index: phpdoc/en/reference/image/functions/imagesavealpha.xml
diff -u phpdoc/en/reference/image/functions/imagesavealpha.xml:1.4 
phpdoc/en/reference/image/functions/imagesavealpha.xml:1.5
--- phpdoc/en/reference/image/functions/imagesavealpha.xml:1.4  Wed May 28 21:13:50 
2003
+++ phpdoc/en/reference/image/functions/imagesavealpha.xml  Wed May 28 21:20:40 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.36 --
  refentry id=function.imagesavealpha
   refnamediv
@@ -17,7 +17,7 @@
  methodparamtypebool/typeparametersaveflag/parameter/methodparam
 /methodsynopsis
para
-functionimagesavealpha/function sets the flat to attempt to save
+functionimagesavealpha/function sets the flag to attempt to save
 full alpha channel information (as opposed to single-color transparency)
 when saving PNG images. 
/para
@@ -27,7 +27,7 @@
/para
para
 Alpha channel is not supported by all browsers, if you have problem with
-your browser, try to load your script with a alpha channel compliant
+your browser, try to load your script with an alpha channel compliant
 browser, e.g. latest Mozilla.
/para
para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php todo.txt

2003-05-29 Thread moshe doron

 Your patched totally broke the index generation for the CHM HE manual,  the parser 
 exports in a totally differentformat and thus the index 

it  suppose to be so, it's save the html meaning not the orginal ws and low\up case. 
anyway, there are some html changes related to the alignment so may that's the problem.

well, i guess i have to learn this index generation dependencies now...

--
moshe

Re: [PHP-DOC] #23795 [Bgs]: .chm's pre tags in examples WEREdisplayed as one line

2003-05-29 Thread Dimitris Glezos


On 28 May 2003, akos987 at cs dot elte dot hu wrote:

 I know the particular being is dead, but refuse to consider it
 never-existent. (That's the meaning of closed, not to
 completely forget about past errors, though fixed they are.)
 ...
 wardrobe. Not even dead, closed, killed, extinct.


I admit to say, that I also saw the same bug in the greek chm, which is
now gone.

Dimitris


-
Department of Computer Engineering and Informatics
University of Patras, Greece (ceid.upatras.gr)
ICQ: 9295964, PGP: 0xA5A04C3B

He who gives up functionality for ease of use
loses both and deserves neither. (Anonymous)
-




-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] Systems: adding EL (greek) translation

2003-05-29 Thread Dimitris Glezos

Hello,

Can we please have the greek translation added to the automatic building
scripts?

'Cause right now the links on the docs.php are dead and only the CHM
format is available (thanks Derick).


Thanks in advance,

Dimitris Glezos


-
Department of Computer Engineering and Informatics
University of Patras, Greece (ceid.upatras.gr)
ICQ: 9295964, PGP: 0xA5A04C3B

He who gives up functionality for ease of use
loses both and deserves neither. (Anonymous)
-



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.phptodo.txt

2003-05-29 Thread Derick Rethans
On Thu, 29 May 2003, moshe doron wrote:

 
  Your patched totally broke the index generation for the CHM HE
  manual, the parser exports in a totally differentformat and thus the
  index
 
 it suppose to be so, it's save the html meaning not the orginal ws and
 low\up case. anyway, there are some html changes related to the
 alignment so may that's the problem.

I don't really care what it does, it just needs to be fixed. :)

Derick

-- 
my other box is your windows PC
-
 Derick Rethans http://derickrethans.nl/ 
 International PHP Magazine  http://php-mag.net/
-

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] pcntl_waitpid - small change

2003-05-29 Thread Davey
Small change in these docs,

parameter 'status' is a reference, added the  to the synopsis :)

- Davey
Index: pcntl-waitpid.xml
===
RCS file: /repository/phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml,v
retrieving revision 1.2
diff -u -r1.2 pcntl-waitpid.xml
--- pcntl-waitpid.xml   17 Apr 2002 06:42:45 -  1.2
+++ pcntl-waitpid.xml   29 May 2003 12:25:27 -
@@ -11,7 +11,7 @@
 methodsynopsis
  typeint/typemethodnamepcntl_waitpid/methodname
  methodparamtypeint/typeparameterpid/parameter/methodparam
- methodparamtypeint/typeparameterstatus/parameter/methodparam
+ methodparamtypeint/typeparameterstatus/parameter/methodparam
  methodparamtypeint/typeparameteroptions/parameter/methodparam
 /methodsynopsis
para
-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DOC] cvs: phpdoc /scripts/rtlpatch HtmlParser.class.php rtlpatch.php

2003-05-29 Thread Moshe Doron
momoThu May 29 08:33:20 2003 EDT

  Modified files:  
/phpdoc/scripts/rtlpatchHtmlParser.class.php rtlpatch.php 
  Log:
  nuke warnings
  
Index: phpdoc/scripts/rtlpatch/HtmlParser.class.php
diff -u phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.2 
phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.3
--- phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.2Mon May 26 06:41:37 2003
+++ phpdoc/scripts/rtlpatch/HtmlParser.class.phpThu May 29 08:33:20 2003
@@ -16,7 +16,7 @@
   | Authors:Moshe Doron [EMAIL PROTECTED] |
   +--+
   
- $Id: HtmlParser.class.php,v 1.2 2003/05/26 10:41:37 momo Exp $
+ $Id: HtmlParser.class.php,v 1.3 2003/05/29 12:33:20 momo Exp $
 */
 
 define(__HTML_FREE_ENGLISH__,1);
@@ -188,7 +188,7 @@
while($this-pos  $this-len){
 //debuginfo(pos is: . $this-pos. , character is:  .$this-data{$this-pos});
if($this-data{$this-pos} != ){
-   if ($x = $this-plaintext()) $this-map($x);
+   if ($x = $this-plaintext()) $this-map($x);
}else if(++$this-pos  $this-len){
$p = $this-data{$this-pos};
if($p == !){
@@ -201,7 +201,7 @@
$this-map($this-parse_process());
}else{
 //debuginfo(opening);
-   $this-map($this-parse_start($endfl),$endfl);
+   $this-map($this-parse_start($endfl),$endfl);
$this-pos++;
}
}
@@ -209,7 +209,7 @@
}
}

-   function parse_start($endfl){
+   function parse_start($endfl){
global $HEType;

//fining the html tag type:
Index: phpdoc/scripts/rtlpatch/rtlpatch.php
diff -u phpdoc/scripts/rtlpatch/rtlpatch.php:1.5 
phpdoc/scripts/rtlpatch/rtlpatch.php:1.6
--- phpdoc/scripts/rtlpatch/rtlpatch.php:1.5Mon May 26 06:41:37 2003
+++ phpdoc/scripts/rtlpatch/rtlpatch.phpThu May 29 08:33:20 2003
@@ -16,11 +16,11 @@
   | Authors:Moshe Doron [EMAIL PROTECTED] |
   +--+
   
- $Id: rtlpatch.php,v 1.5 2003/05/26 10:41:37 momo Exp $
+ $Id: rtlpatch.php,v 1.6 2003/05/29 12:33:20 momo Exp $
 */
 
 /*
-   REQUIRES: PHP 4.3.2 or higher
+   REQUIRES: PHP 4.3.2 CLI or higher

This file is temporary patch allow the hebrew and (in the future arabic) html 
generation.

@@ -37,7 +37,6 @@
 */
 
 error_reporting(2047);
-
 // finding the real path of the needed files:
 $mypath = $_SERVER[SCRIPT_NAME];
 $spos = strrpos($mypath,/);



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pcntl/functions pcntl-waitpid.xml

2003-05-29 Thread Andrew Lindeman
alindeman   Thu May 29 08:44:03 2003 EDT

  Modified files:  
/phpdoc/en/reference/pcntl/functionspcntl-waitpid.xml 
  Log:
  applying davey's ([EMAIL PROTECTED]) patch
  
  
Index: phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.2 
phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.3
--- phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.2   Wed Apr 17 02:42:45 
2002
+++ phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml   Thu May 29 08:44:03 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/pcntl.xml, last change in rev 1.1 --
  refentry id=function.pcntl-waitpid
   refnamediv
@@ -11,7 +11,7 @@
 methodsynopsis
  typeint/typemethodnamepcntl_waitpid/methodname
  methodparamtypeint/typeparameterpid/parameter/methodparam
- methodparamtypeint/typeparameterstatus/parameter/methodparam
+ methodparamtypeint/typeparameterstatus/parameter/methodparam
  methodparamtypeint/typeparameteroptions/parameter/methodparam
 /methodsynopsis
para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php