[PHP-DOC] Re: mail() in windows + php4.3

2004-02-25 Thread Serban Gh. Ghita
You don't have sendmail in Windows.
Try using:

[mail function]
SMTP = smtp.server.com

For that you must have a SMTP server installed.

zam



Kk Kong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I keep geting error message:

 Warning: mail(): sendmail_from not set in php.ini or custom From:
header
 missing in D:\Inetpub\wwwroot\php\sendmail.php on line 11

 php.ini:
 sendmail_from = [EMAIL PROTECTED]

 sendmail.php:
 ?php
 mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3,
 From: [EMAIL PROTECTED]);
 ?

 Can anyone help with this problem? thanks a lot!

 KK Kong


[PHP-DOC] cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml ctype-alpha.xml ctype-cntrl.xml ctype-digit.xml ctype-graph.xml ctype-lower.xml ctype-print.xml ctype-punct.xml ctype-space.xml ctype-upper.xml ctype-xdigit.xml

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 05:19:06 2004 EDT

  Modified files:  
/phpdoc/en/reference/ctype/functionsctype-alnum.xml 
ctype-alpha.xml 
ctype-cntrl.xml 
ctype-digit.xml 
ctype-graph.xml 
ctype-lower.xml 
ctype-print.xml 
ctype-punct.xml 
ctype-space.xml 
ctype-upper.xml 
ctype-xdigit.xml 
  Log:
  Added ctype examples
  http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.3 
phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.4
--- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.3 Tue Oct 21 04:40:23 
2003
+++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Wed Feb 25 05:19:05 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --
   refentry id=function.ctype-alnum
refnamediv
@@ -19,6 +19,34 @@
  equivalent to literalpreg_match('/^[a-z0-9]*$/i', $text)/literal.
 /para
 para
+ example
+  titleA functionctype_alnum/function example (using the default 
locale)/title
+  programlisting role=php
+![CDATA[
+?php
+$strings = array('AbCd1zyZ9', 'foo!#$bar');
+foreach ($strings as $testcase) {
+if (ctype_alnum($testcase)) {
+echo The string $testcase consists of all letters or digits.\n;
+} else {
+echo The string $testcase does not consist of all letters or digits.\n;
+}
+}
+?
+]]
+  /programlisting
+  para
+   This example will output :
+  /para
+  screen
+![CDATA[
+The string AbCd1zyZ9 consists of all letters or digits.
+The string foo!#$bar does not consists of all letters or digits.
+]]
+  /screen
+ /example
+/para
+para
  See also functionctype_alpha/function, functionctype_digit/function, 
  and functionsetlocale/function.
 /para
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.3 
phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.4
--- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.3 Mon Oct 27 13:37:35 
2003
+++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Wed Feb 25 05:19:05 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --
   refentry id=function.ctype-alpha
refnamediv
@@ -22,6 +22,34 @@
  are considered neither upper nor lower case.
 /para
 para
+ example
+  titleA functionctype_alpha/function example (using the default 
locale)/title
+  programlisting role=php
+![CDATA[
+?php
+$strings = array('KjgWZC', 'arf12');
+foreach ($strings as $testcase) {
+if (ctype_alpha($testcase)) {
+echo The string $testcase consists of all letters.\n;
+} else {
+echo The string $testcase does not consist of all letters.\n;
+}
+}
+?
+]]
+  /programlisting
+  para
+   This example will output :
+  /para
+  screen
+![CDATA[
+The string KjgWZC consists of all letters.
+The string arf12 does not consists of all letters.
+]]
+  /screen
+ /example
+/para
+para
  See also functionctype_upper/function,
  functionctype_lower/function, and
  functionsetlocale/function.
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.2 
phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.3
--- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.2 Wed Apr 17 02:37:03 
2002
+++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Wed Feb 25 05:19:05 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --
   refentry id=function.ctype-cntrl
refnamediv
@@ -17,6 +17,34 @@
  a special control function, false; otherwise. Control characters are
  e.g. line feed, tab, esc.
 /para
+para
+ example
+  titleA functionctype_cntrl/function example/title
+  programlisting role=php
+![CDATA[
+?php
+$strings = array('string1' 

[PHP-DOC] cvs: phpdoc /en/reference/bzip2/functions bzread.xml

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 05:32:50 2004 EDT

  Modified files:  
/phpdoc/en/reference/bzip2/functionsbzread.xml 
  Log:
  fixed example
  
http://cvs.php.net/diff.php/phpdoc/en/reference/bzip2/functions/bzread.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/bzip2/functions/bzread.xml
diff -u phpdoc/en/reference/bzip2/functions/bzread.xml:1.4 
phpdoc/en/reference/bzip2/functions/bzread.xml:1.5
--- phpdoc/en/reference/bzip2/functions/bzread.xml:1.4  Sun Dec 14 18:06:28 2003
+++ phpdoc/en/reference/bzip2/functions/bzread.xml  Wed Feb 25 05:32:48 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --
   refentry id=function.bzread
refnamediv
@@ -31,7 +31,7 @@
 ?php
 
 $file = /tmp/foo.bz2;
-$bz = bzopen($file, r) or die(Couldn't open $file);
+$bz = bzopen($file, r) or die(Couldn't open $file);
 
 $decompressed_file = '';
 while (!feof($bz)) {


[PHP-DOC] #27390 [NEW]: ibase_trans wrong transaction argument

2004-02-25 Thread cryo28 at rbcmail dot ru
From: cryo28 at rbcmail dot ru
Operating system: Any
PHP version:  4.3.5RC3
PHP Bug Type: Documentation problem
Bug description:  ibase_trans wrong transaction argument

Description:

PHP Manual. Interbase functions - ibase_trans.

Begins a transaction. 



trans_args can be a combination of IBASE_READ, IBASE_WRITE,
IBASE_COMMITED, IBASE_CONSISTENCY, IBASE_CONCURRENCY, IBASE_REC_VERSION,
IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT. 



IBASE_COMMIT != IBASE_COMMITT as defined in php_interbase







Reproduce code:
---
$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITED,
IBASE_REC_VERSION, $dbci-connection);



Notice: Use of undefined constant IBASE_COMMITED - assumed
'IBASE_COMMITED' in D:\inet\wwwroot\online_sales_procs.inc.php on line
265





$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITTED,
IBASE_REC_VERSION, $dbci-connection);



NO notices or warnings


-- 
Edit bug report at http://bugs.php.net/?id=27390edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27390r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27390r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=27390r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=27390r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27390r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=27390r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=27390r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=27390r=support
Expected behavior:  http://bugs.php.net/fix.php?id=27390r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=27390r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=27390r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=27390r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27390r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=27390r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=27390r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=27390r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27390r=float


[PHP-DOC] #27390 [Opn]: ibase_trans wrong transaction argument

2004-02-25 Thread cryo28 at rbcmail dot ru
 ID:   27390
 User updated by:  cryo28 at rbcmail dot ru
 Reported By:  cryo28 at rbcmail dot ru
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.3.5RC3
 New Comment:

Sorry. IBASE_COMMITED != IBASE_COMMITTED.


Previous Comments:


[2004-02-25 05:28:36] cryo28 at rbcmail dot ru

Description:

PHP Manual. Interbase functions - ibase_trans.

Begins a transaction. 



trans_args can be a combination of IBASE_READ, IBASE_WRITE,
IBASE_COMMITED, IBASE_CONSISTENCY, IBASE_CONCURRENCY,
IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT. 



IBASE_COMMIT != IBASE_COMMITT as defined in php_interbase







Reproduce code:
---
$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITED,
IBASE_REC_VERSION, $dbci-connection);



Notice: Use of undefined constant IBASE_COMMITED - assumed
'IBASE_COMMITED' in D:\inet\wwwroot\online_sales_procs.inc.php on line
265





$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITTED,
IBASE_REC_VERSION, $dbci-connection);



NO notices or warnings






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


[PHP-DOC] cvs: phpdoc /en/reference/ibase/functions ibase-trans.xml

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 05:43:05 2004 EDT

  Modified files:  
/phpdoc/en/reference/ibase/functionsibase-trans.xml 
  Log:
  bug #27390
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ibase/functions/ibase-trans.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/ibase/functions/ibase-trans.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.5 
phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.6
--- phpdoc/en/reference/ibase/functions/ibase-trans.xml:1.5 Thu Sep 11 05:31:31 
2003
+++ phpdoc/en/reference/ibase/functions/ibase-trans.xml Wed Feb 25 05:43:03 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 --
   refentry id=function.ibase-trans
refnamediv
@@ -18,7 +18,7 @@
 /para
 para
  parametertrans_args/parameter can be a combination of
- IBASE_READ, IBASE_WRITE, IBASE_COMMITED, IBASE_CONSISTENCY,
+ IBASE_READ, IBASE_WRITE, IBASE_COMMITTED, IBASE_CONSISTENCY,
  IBASE_CONCURRENCY, IBASE_REC_VERSION, IBASE_REC_NO_VERSION,
  IBASE_WAIT and IBASE_NOWAIT.
 /para


[PHP-DOC] #27390 [Opn-Csd]: ibase_trans wrong transaction argument

2004-02-25 Thread irchtml
 ID:   27390
 Updated by:   [EMAIL PROTECTED]
 Reported By:  cryo28 at rbcmail dot ru
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.3.5RC3
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2004-02-25 05:30:15] cryo28 at rbcmail dot ru

Sorry. IBASE_COMMITED != IBASE_COMMITTED.



[2004-02-25 05:28:36] cryo28 at rbcmail dot ru

Description:

PHP Manual. Interbase functions - ibase_trans.

Begins a transaction. 



trans_args can be a combination of IBASE_READ, IBASE_WRITE,
IBASE_COMMITED, IBASE_CONSISTENCY, IBASE_CONCURRENCY,
IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT. 



IBASE_COMMIT != IBASE_COMMITT as defined in php_interbase







Reproduce code:
---
$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITED,
IBASE_REC_VERSION, $dbci-connection);



Notice: Use of undefined constant IBASE_COMMITED - assumed
'IBASE_COMMITED' in D:\inet\wwwroot\online_sales_procs.inc.php on line
265





$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITTED,
IBASE_REC_VERSION, $dbci-connection);



NO notices or warnings






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


[PHP-DOC] cvs: phpdoc /en/reference/soap .cvsignore /en/reference/spl .cvsignore

2004-02-25 Thread Nuno Lopes
nlopess Wed Feb 25 06:06:56 2004 EDT

  Added files: 
/phpdoc/en/reference/spl.cvsignore 
/phpdoc/en/reference/soap   .cvsignore 
  Log:
  ignore functions.xml
  

http://cvs.php.net/co.php/phpdoc/en/reference/spl/.cvsignore?r=1.1p=1
Index: phpdoc/en/reference/spl/.cvsignore
+++ phpdoc/en/reference/spl/.cvsignore
functions.xml

http://cvs.php.net/co.php/phpdoc/en/reference/soap/.cvsignore?r=1.1p=1
Index: phpdoc/en/reference/soap/.cvsignore
+++ phpdoc/en/reference/soap/.cvsignore
functions.xml


[PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/reference/tidy/functions tidy-diagnose.xml tidy-parse-file.xml tidy-parse-string.xml tidy-repair-file.xml tidy-repair-string.xml

2004-02-25 Thread Nuno Lopes
nlopess Wed Feb 25 06:07:43 2004 EDT

  Modified files:  
/phpdoc/en  language-snippets.ent 
/phpdoc/en/reference/tidy/functions tidy-diagnose.xml 
tidy-parse-file.xml 
tidy-parse-string.xml 
tidy-repair-file.xml 
tidy-repair-string.xml 
  Log:
  more tidy docs and examples
  
http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.77r2=1.78ty=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.77 phpdoc/en/language-snippets.ent:1.78
--- phpdoc/en/language-snippets.ent:1.77Thu Feb 19 11:06:55 2004
+++ phpdoc/en/language-snippets.ent Wed Feb 25 06:07:42 2004
@@ -1,4 +1,4 @@
-!-- $Revision: 1.77 $ --
+!-- $Revision: 1.78 $ --
 
 !ENTITY warn.experimental 'warningsimparaThis extension is
 emphasisEXPERIMENTAL/emphasis. The behaviour of this extension --
@@ -291,3 +291,10 @@
 !ENTITY note.tidy.2only 'notesimparaThe optional parameters
 literalconfig/literal and literalencoding/literal were
 added in Tidy 2.0./simpara/note'
+
+!ENTITY tidy.conf-enc 'paraThe parameterconfig/parameter parameter can be 
passed either as an array
+or as a string. If you pass it as a string, it means the name of the configuration 
file, otherwise
+it is interpreted as the options themselves. Check ulink 
url=url.tidy.conf;url.tidy.conf;/ulink
+for an explanation about each option./paraparaThe parameterencoding/parameter 
parameter sets the
+encoding for input/output documents. The possible values for 
parameterencoding/parameter are:
+ascii, latin0, latin1, raw, utf8, iso202, utf16le, utf16be, utf16, mac, win1252, 
ibm858, big5 and shiftjis./para'
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/functions/tidy-diagnose.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/tidy/functions/tidy-diagnose.xml
diff -u phpdoc/en/reference/tidy/functions/tidy-diagnose.xml:1.3 
phpdoc/en/reference/tidy/functions/tidy-diagnose.xml:1.4
--- phpdoc/en/reference/tidy/functions/tidy-diagnose.xml:1.3Sun Feb 15 12:21:04 
2004
+++ phpdoc/en/reference/tidy/functions/tidy-diagnose.xmlWed Feb 25 06:07:43 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id=function.tidy-diagnose
refnamediv
 refnametidy_diagnose/refname
@@ -17,6 +17,9 @@
  functiontidy_diagnose/function runs diagnostic tests on the given
  resource.
 /para
+para
+return.success;
+/para
/refsect1
   /refentry
 
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/functions/tidy-parse-file.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/tidy/functions/tidy-parse-file.xml
diff -u phpdoc/en/reference/tidy/functions/tidy-parse-file.xml:1.4 
phpdoc/en/reference/tidy/functions/tidy-parse-file.xml:1.5
--- phpdoc/en/reference/tidy/functions/tidy-parse-file.xml:1.4  Sun Feb 22 07:23:25 
2004
+++ phpdoc/en/reference/tidy/functions/tidy-parse-file.xml  Wed Feb 25 06:07:43 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
   refentry id=function.tidy-parse-file
refnamediv
 refnametidy_parse_file/refname
@@ -19,7 +19,27 @@
 para
  This function parses the given file.
 /para
- note.tidy.2only;
+tidy.conf-enc;
+para
+ example
+  titlefunctiontidy_parse_file/function example/title
+  programlisting role=php
+![CDATA[
+?php
+$tidy = tidy_parse_file('file.html');
+
+$tidy-cleanRepair();
+
+if(!empty($tidy-error_buf)) {
+echo The following errors or warnings occured:\n;
+echo $tidy-error_buf;
+}
+?
+]]
+  /programlisting
+ /example
+/para
+note.tidy.2only;
 para
  See also functiontidy_parse_string/function,
  functiontidy_parse_string/function and
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/functions/tidy-parse-string.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/tidy/functions/tidy-parse-string.xml
diff -u phpdoc/en/reference/tidy/functions/tidy-parse-string.xml:1.3 
phpdoc/en/reference/tidy/functions/tidy-parse-string.xml:1.4
--- phpdoc/en/reference/tidy/functions/tidy-parse-string.xml:1.3Sun Feb 22 
07:23:25 2004
+++ phpdoc/en/reference/tidy/functions/tidy-parse-string.xmlWed Feb 25 06:07:43 
2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id=function.tidy-parse-string
refnamediv
 refnametidy_parse_string/refname
@@ -19,6 +19,7 @@
  functiontidy_parse_string/function parses a document stored in a
  string.
 /para
+tidy.conf-enc;
 para
  example
   titlefunctiontidy_parse_string/function example/title
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/functions/tidy-repair-file.xml?r1=1.4r2=1.5ty=u
Index: phpdoc/en/reference/tidy/functions/tidy-repair-file.xml

[PHP-DOC] cvs: phpdoc /en/reference/iconv/functions iconv-mime-decode-headers.xml

2004-02-25 Thread Mehdi Achour
didou   Wed Feb 25 07:18:07 2004 EDT

  Modified files:  
/phpdoc/en/reference/iconv/functionsiconv-mime-decode-headers.xml 
  Log:
  fix function name
  
http://cvs.php.net/diff.php/phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml?r1=1.7r2=1.8ty=u
Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.7 
phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.8
--- phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.7   Fri 
Jan  2 04:42:15 2004
+++ phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml   Wed Feb 25 
07:18:06 2004
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
   refentry id=function.iconv-mime-decode-headers
refnamediv
 refnameiconv_mime_decode_headers/refname
@@ -80,7 +80,7 @@
 /para
 
 example
- titlefunctioniconv_mime_decode_function/function example/title
+ titlefunctioniconv_mime_decode_headers/function example/title
  programlisting role=php
 lt;?php
 $headers_string = lt;lt;lt;EOF


[PHP-DOC] #19692 [Opn-Dup]: register_shutdown_function documentation unclear about output

2004-02-25 Thread irchtml
 ID:   19692
 Updated by:   [EMAIL PROTECTED]
 Reported By:  asd at suespammers dot org
-Status:   Open
+Status:   Duplicate
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  4.2.3
 New Comment:

This a duplicate to #20447, closing this bug but leaving the other
open.  Will try to figure out in which cases output may still be sent
(perhaps today).


Previous Comments:


[2003-06-20 14:30:07] dchatenay at hotmail dot com

Sorry, I meant bug #20447.



[2003-06-20 14:29:23] dchatenay at hotmail dot com

I don't know how active this bug is. It looks related to bug #10447:
when you register a shutdown function, php used to release the
connection and execute the shutdown function in the background (thus
preventing you from sending any output obviously).

  Now it looks like the execution of the shutdown function will keep
the connection alive, and you may output some information.

  This is annoying since it used to work fine until recently, and I
can't find out what triggered this change in behaviour.



[2002-10-01 10:04:42] asd at suespammers dot org

The register_shutdown_function documentation makes it sound like trying
to output to the web browser during a shutdown function is a no-op.



However, it seems that it isn't always. Sometimes the text goes out
fine; sometimes it goes out after, e.g., zlib compression, etc.



The documenation should probably be changed to state the behavior of
output done by a shutdown function is undefined, and strongly warn
against letting it happen.




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


[PHP-DOC] cvs: phpdoc /en/reference/pcntl/functions pcntl-alarm.xml pcntl-getpriority.xml pcntl-setpriority.xml pcntl-wait.xml

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 11:00:12 2004 EDT

  Added files: 
/phpdoc/en/reference/pcntl/functionspcntl-alarm.xml 
pcntl-getpriority.xml 
pcntl-setpriority.xml 
pcntl-wait.xml 
  Log:
  added missing pcntl functions
  documented _alarm (bug #21694), working on the rest
  

http://cvs.php.net/co.php/phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml?r=1.1p=1
Index: phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml
+++ phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id='function.pcntl-alarm'
   refnamediv
refnamepcntl_alarm/refname
refpurpose
 Set an alarm clock for delivery of a signal
/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typeint/typemethodnamepcntl_alarm/methodname
  methodparamtypeint/typeparameterseconds/parameter/methodparam
 /methodsynopsis
para
 The functionpcntl_alarm/function function creates a timer that will
 send a literalSIGALARM/literal signal to the process after
 parameterseconds/parameter seconds.  If parameterseconds/parameter
 is zero, no new alarm is created.  Any call to functionpcntl_alarm/function
 will cancel any previously set alarm.
/para
para
 functionpcntl_alarm/function will return the time in seconds that any
 previously scheduled alarm had remaining before it was to be delivered, or
 literal0/literal if there was no previously scheduled alarm.
/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
--

http://cvs.php.net/co.php/phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml?r=1.1p=1
Index: phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml
+++ phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id='function.pcntl-getpriority'
   refnamediv
refnamepcntl_getpriority/refname
refpurpose
 Get the priority of any process
/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typeint/typemethodnamepcntl_getpriority/methodname
  methodparam 
choice=opttypeint/typeparameterpid/parameter/methodparam
  methodparam 
choice=opttypeint/typeparameterprocess_identifier/parameter/methodparam
 /methodsynopsis
para
 warn.undocumented.func;
/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
--

http://cvs.php.net/co.php/phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml?r=1.1p=1
Index: phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml
+++ phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
  refentry id='function.pcntl-setpriority'
   refnamediv
refnamepcntl_setpriority/refname
refpurpose
 Change the priority of any process
/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typebool/typemethodnamepcntl_setpriority/methodname
  methodparamtypeint/typeparameterpriority/parameter/methodparam
  methodparam 
choice=opttypeint/typeparameterpid/parameter/methodparam
  methodparam 
choice=opttypeint/typeparameterprocess_identifier/parameter/methodparam
 /methodsynopsis
para
 warn.undocumented.func;
/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
--

http://cvs.php.net/co.php/phpdoc/en/reference/pcntl/functions/pcntl-wait.xml?r=1.1p=1
Index: phpdoc/en/reference/pcntl/functions/pcntl-wait.xml
+++ 

[PHP-DOC] #21694 [Asn-Csd]: pcntl_alarm

2004-02-25 Thread irchtml
 ID:  21694
 Updated by:  [EMAIL PROTECTED]
 Reported By: dbai at lantanet dot cz
-Status:  Assigned
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 4.3.0
 Assigned To: jason
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

Added the pcntl_alarm function (documented) in CVS along with the other
missing pcntl functions (working on those).


Previous Comments:


[2003-07-18 12:11:46] [EMAIL PROTECTED]

Assigning to Jason as he's about to do a lot of work on the pcntl and
socket docs.



[2003-01-18 04:48:51] [EMAIL PROTECTED]

So, then if this is the current policy, then the bugreporting page
should be change. It says: Never report bugs for missing functions, we
know about them.



[2003-01-16 15:22:02] [EMAIL PROTECTED]

Uhm, this isn't bogus. Please close this bugreport when the
documentation has been written only.



Derick



[2003-01-16 15:21:41] [EMAIL PROTECTED]

It's still not bogus, it's open.



[2003-01-16 15:18:03] [EMAIL PROTECTED]

we know. There's loads of undocumented functions still around We're
constantly documenting new functions, and modifying current
documentation to keep you informed the best we can...!



To see all undocumented features, have a look here:

http://zend.com/phpfunc/nodoku.php



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/21694

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


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

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 11:42:00 2004 EDT

  Modified files:  
/phpdoc/en/reference/pcntl/functionspcntl-wait.xml 
pcntl-waitpid.xml 
  Log:
  documented pcntl_wait
  added note in _waitpid
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-wait.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wait.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.1 
phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.2
--- phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.1  Wed Feb 25 11:00:11 
2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wait.xml  Wed Feb 25 11:42:00 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id='function.pcntl-wait'
refnamediv
 refnamepcntl_wait/refname
@@ -14,7 +14,46 @@
   methodparamtypeint/typeparameteramp;status/parameter/methodparam
  /methodsynopsis
 para
- warn.undocumented.func;
+ The wait function suspends execution of the current process until a
+ child has exited, or until a signal is delivered whose action is to
+ terminate the current process or to call a signal handling function.  If a
+ child has already exited by the time of the call (a so-called zombie
+ process), the function returns immediately.  Any system resources used by
+ the child are freed.  Please see your system's wait(2) man page for
+ specific details as to how wait works on your system.
+/para
+para
+ functionpcntl_wait/function returns the process ID of the child which
+ exited.
+/para
+para
+ functionpcntl_wait/function will store status information
+ in the parameterstatus/parameter parameter which can be
+ evaluated using the following functions:
+ functionpcntl_wifexited/function,
+ functionpcntl_wifstopped/function,
+ functionpcntl_wifsignaled/function,
+ functionpcntl_wexitstatus/function,
+ functionpcntl_wtermsig/function and
+ functionpcntl_wstopsig/function.
+/para
+note
+ para
+  This function is equivalent to calling functionpcntl_waitpid/function
+  with a literal-1/literal parameterpid/parameter and no
+  parameteroptions/parameter.
+ /para
+/note
+para
+ See also functionpcntl_fork/function,
+ functionpcntl_signal/function,
+ functionpcntl_wifexited/function,
+ functionpcntl_wifstopped/function,
+ functionpcntl_wifsignaled/function,
+ functionpcntl_wexitstatus/function,
+ functionpcntl_wtermsig/function,
+ functionpcntl_wstopsig/function and
+ functionpcntl_waitpid/function.
 /para
/refsect1
   /refentry
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.5 
phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.6
--- phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.5   Thu May 29 11:41:22 
2003
+++ phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml   Wed Feb 25 11:42:00 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/pcntl.xml, last change in rev 1.1 --
  refentry id=function.pcntl-waitpid
   refnamediv
@@ -69,6 +69,13 @@
  /tgroup
 /table
/para
+   note
+para
+ Specifying literal-1/literal as the parameterpid/parameter is
+ equivalent to the functionality functionpcntl_wait/function provides
+ (minus parameteroptions/parameter).
+/para
+   /note
para
 functionpcntl_waitpid/function will store status information
 in the parameterstatus/parameter parameter which can be


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

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 12:02:54 2004 EDT

  Modified files:  
/phpdoc/en/reference/pcntl/functionspcntl-wait.xml 
  Log:
  added info about wait3
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-wait.xml?r1=1.2r2=1.3ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wait.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.2 
phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.3
--- phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.2  Wed Feb 25 11:42:00 
2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wait.xml  Wed Feb 25 12:02:53 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
   refentry id='function.pcntl-wait'
refnamediv
 refnamepcntl_wait/refname
@@ -12,6 +12,7 @@
  methodsynopsis
   typeint/typemethodnamepcntl_wait/methodname
   methodparamtypeint/typeparameteramp;status/parameter/methodparam
+  methodparam 
choice=opttypeint/typeparameteroptions/parameter/methodparam
  /methodsynopsis
 para
  The wait function suspends execution of the current process until a
@@ -23,8 +24,38 @@
  specific details as to how wait works on your system.
 /para
 para
- functionpcntl_wait/function returns the process ID of the child which
- exited.
+ functionpcntl_waitpid/function returns the process ID of the
+ child which exited, -1 on error or zero if WNOHANG was provided as an
+ option (on wait3-available systems) and no child was available.
+/para
+para
+ If wait3 is available on your system (mostly BSD-style systems), you can
+ provide the optional parameteroptions/parameter parameter.  If this
+ parameter is not provided, wait will be used for the system call.  If
+ wait3 is not available, providing a value for parameteroptions
+ /parameter will have no effect. The value of parameteroptions
+ /parameter is the value of zero or more of the following two constants
+ literalOR/literal'ed together:
+ table
+  titlePossible values for parameteroptions/parameter if wait3 is 
available/title
+  tgroup cols=2
+   tbody
+row
+ entryliteralWNOHANG/literal/entry
+ entry
+  Return immediately if no child has exited.
+ /entry
+/row
+row
+ entryliteralWUNTRACED/literal/entry
+ entry
+  Return for children which are stopped, and whose status has
+  not been reported.
+ /entry
+/row
+   /tbody
+  /tgroup
+ /table
 /para
 para
  functionpcntl_wait/function will store status information


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

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 12:36:15 2004 EDT

  Modified files:  
/phpdoc/en/reference/pcntl/functionspcntl-getpriority.xml 
pcntl-setpriority.xml 
  Log:
  finished up get/setpriority docs
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.1 
phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.2
--- phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.1   Wed Feb 25 
11:00:11 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml   Wed Feb 25 12:36:15 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id='function.pcntl-getpriority'
refnamediv
 refnamepcntl_getpriority/refname
@@ -12,11 +12,20 @@
  methodsynopsis
   typeint/typemethodnamepcntl_getpriority/methodname
   methodparam 
choice=opttypeint/typeparameterpid/parameter/methodparam
-  methodparam 
choice=opttypeint/typeparameterprocess_identifier/parameter/methodparam
  /methodsynopsis
 para
- warn.undocumented.func;
+ functionpcntl_getpriority/function gets the priority of 
+ parameterpid/parameter.  If parameterpid/parameter is not
+ specified, the pid of the current process is used.  Because priority
+ levels can differ between system types and kernel versions, please see
+ your system's getpriority(2) man page for specific details.
 /para
+para
+ functionpcntl_getpriority/function returns the priority of the process
+ or false; on error.  A lower numerical value causes more favorable
+ scheduling.
+/para
+return.falseproblem;
/refsect1
   /refentry
 
@@ -39,4 +48,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
---
+--
\ No newline at end of file
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml?r1=1.1r2=1.2ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.1 
phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.2
--- phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.1   Wed Feb 25 
11:00:11 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml   Wed Feb 25 12:36:15 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
   refentry id='function.pcntl-setpriority'
refnamediv
 refnamepcntl_setpriority/refname
@@ -13,10 +13,23 @@
   typebool/typemethodnamepcntl_setpriority/methodname
   methodparamtypeint/typeparameterpriority/parameter/methodparam
   methodparam 
choice=opttypeint/typeparameterpid/parameter/methodparam
-  methodparam 
choice=opttypeint/typeparameterprocess_identifier/parameter/methodparam
  /methodsynopsis
 para
- warn.undocumented.func;
+ functionpcntl_setpriority/function sets the priority of
+ parameterpid/parameter to parameterpriority/parameter.  If
+ parameterpid/parameter is not specified, the pid of the current
+ process is used.
+/para
+para
+ parameterpriority/parameter is generally a value in the range
+ literal-20/literal to literal20/literal. The default priority
+ is literal0/literal while a lower numerical value causes more
+ favorable scheduling.  Because priority levels can differ between
+ system types and kernel versions, please see your system's setpriority(2)
+ man page for specific details.
+/para
+para
+ return.success;
 /para
/refsect1
   /refentry
@@ -40,4 +53,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
---
+--
\ No newline at end of file


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

2004-02-25 Thread Kenneth Schwartz
irchtml Wed Feb 25 16:07:57 2004 EDT

  Modified files:  
/phpdoc/en/reference/pcntl/functionspcntl-wait.xml 
  Log:
  typo
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-wait.xml?r1=1.3r2=1.4ty=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wait.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.3 
phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.3  Wed Feb 25 12:02:53 
2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wait.xml  Wed Feb 25 16:07:57 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
   refentry id='function.pcntl-wait'
refnamediv
 refnamepcntl_wait/refname
@@ -24,7 +24,7 @@
  specific details as to how wait works on your system.
 /para
 para
- functionpcntl_waitpid/function returns the process ID of the
+ functionpcntl_wait/function returns the process ID of the
  child which exited, -1 on error or zero if WNOHANG was provided as an
  option (on wait3-available systems) and no child was available.
 /para


[PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-info.xml mysqli-kill.xml

2004-02-25 Thread Georg Richter
georg   Thu Feb 26 02:18:17 2004 EDT

  Modified files:  
/phpdoc/en/reference/mysqli/functions   mysqli-info.xml 
mysqli-kill.xml 
  Log:
  fixed bug in mysqli-info
  added kill sample
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-info.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-info.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-info.xml:1.5 
phpdoc/en/reference/mysqli/functions/mysqli-info.xml:1.6
--- phpdoc/en/reference/mysqli/functions/mysqli-info.xml:1.5Wed Feb 25 16:59:16 
2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-info.xmlThu Feb 26 02:18:17 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
   refentry id=function.mysqli-info
refnamediv
 refnamemysqli_info/refname
@@ -162,25 +162,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 --
-  /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
---
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-kill.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-kill.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-kill.xml:1.5 
phpdoc/en/reference/mysqli/functions/mysqli-kill.xml:1.6
--- phpdoc/en/reference/mysqli/functions/mysqli-kill.xml:1.5Wed Jan 28 18:18:42 
2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-kill.xmlThu Feb 26 02:18:17 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
   refentry id=function.mysqli-kill
refnamediv
 refnamemysqli_kill/refname
@@ -45,6 +45,79 @@
  functionmysqli_thread_id/function
 /para
/refsect1
+   refsect1
+titleExample/title
+example
+ titleObject oriented style/title
+ programlisting role=php
+![CDATA[
+?php
+$mysqli = new mysqli(localhost, my_user, my_password, world);
+
+/* check connection */
+if (mysqli_connect_errno()) {
+printf(Connect failed: %s\n, mysqli_connect_error());
+exit();
+}
+
+/* determine our thread id */
+$thread_id = $mysqli-thread_id;
+
+/* Kill connection */
+$mysqli-kill($thread_id);
+
+/* This should produce an error */
+if (!$mysqli-query(CREATE TABLE myCity LIKE City)) {
+printf(Error: %s\n, $mysqli-error);
+exit;
+}
+
+/* close connection */
+$mysqli-close();
+?
+]]
+/programlisting
+/example
+example
+ titleProcedural style/title
+ programlisting role=php
+![CDATA[
+?php
+$link = mysqli_connect(localhost, my_user, my_password, world);
+
+/* check connection */
+if (mysqli_connect_errno()) {
+printf(Connect failed: %s\n, mysqli_connect_error());
+exit();
+}
+
+/* determine our thread id */
+$thread_id = mysqli_thread_id($link);
+
+/* Kill connection */
+mysqli_kill($link, $thread_id);
+
+/* This should produce an error */
+if (!mysqli_query($link, CREATE TABLE myCity LIKE City)) {
+printf(Error: %s\n, mysqli_error($link));
+exit;
+}
+
+/* close connection */
+mysqli_close($link);
+?
+]]
+ /programlisting
+/example
+para
+ The above examples would produce the following output:
+/para
+screen
+![CDATA[
+Error: MySQL server has gone away
+]]
+/screen
+   /refsect1
   /refentry
 
 !-- Keep this comment at the end of the file
@@ -67,3 +140,24 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 --
+
+!-- 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
+--


Re: [PHP-DOC] cvs: phpdoc /en/reference/mysqli reference.xml /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-autocommit.xml mysqli-bind-param.xml mysqli-bind-result.xml mysqli-change-user.xml mysqli-character-set-name.xml mysqli-commit.xml mysqli-connect.xml mysqli-data-seek.xml mysqli-errno.xml mysqli-error.xml mysqli-execute.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-field-direct.xml mysqli-fetch-field.xml mysqli-fetch-fields.xml mysqli-fetch-lengths.xml mysqli-fetch-object.xml mysqli-fetch-row.xml mysqli-fetch.xml mysqli-field-seek.xml mysqli-field-tell.xml mysqli-get-host-info.xml mysqli-get-proto-info.xml mysqli-get-server-info.xml mysqli-get-server-version.xml mysqli-info.xml mysqli-insert-id.xml

2004-02-25 Thread irchtml
 georg Wed Feb 25 16:59:16 2004 EDT
 
   Modified files:  
 /phpdoc/en/reference/mysqli   reference.xml 
 /phpdoc/en/reference/mysqli/functions mysqli-affected-rows.xml 
   mysqli-autocommit.xml 
   mysqli-bind-param.xml 
   mysqli-bind-result.xml 
   mysqli-change-user.xml 
   mysqli-character-set-name.xml 
   mysqli-commit.xml 
   mysqli-connect.xml 
   mysqli-data-seek.xml 
   mysqli-errno.xml 
   mysqli-error.xml 
   mysqli-execute.xml 
   mysqli-fetch-array.xml 
   mysqli-fetch-assoc.xml 
   mysqli-fetch-field-direct.xml 
   mysqli-fetch-field.xml 
   mysqli-fetch-fields.xml 
   mysqli-fetch-lengths.xml 
   mysqli-fetch-object.xml 
   mysqli-fetch-row.xml 
   mysqli-fetch.xml 
   mysqli-field-seek.xml 
   mysqli-field-tell.xml 
   mysqli-get-host-info.xml 
   mysqli-get-proto-info.xml 
   mysqli-get-server-info.xml 
   mysqli-get-server-version.xml 
   mysqli-info.xml 
   mysqli-insert-id.xml 
   Log:
   Minor update:
   - changed/added samples
   - all samples use world database now
   - added url for world db in reference.xml
   - added output for samples
   
   

Line 304 of mysqli/reference.xml breaks make, typo of mysql-fetch-lengths.

Kenneth


[PHP-DOC] Information Update

2004-02-25 Thread [EMAIL PROTECTED]
















Dear PayPal member,
At PayPal, we value the trust you have placed in us by using our service to conduct your transactionsonline. Because our relationship with you is financial in nature, the protection of your privacy is particularlyimportant to us.


We are sending this verification notice to provide you with information about how PayPal safeguards
your privacy, as well as to comply with U.S. federal privacy guidelines that apply to financial institutions
such as PayPal. The full terms of PayPal's privacy policy are available on the PayPal website, which youare welcome to review at any time.

Please verify your account and financial information by clicking on the link below:
https://www.paypal.com/cgi-bin/webscr?cmd=verify

*** DO NOT REPLY TO THIS EMAIL ***





Copyright© 2003 PayPal, Inc. All rights reserved. Designated trademarks and brands are the propertyof their respective owners.