[PHP-DOC] cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml

2006-10-03 Thread Joey Smith
joeyTue Oct  3 11:02:51 2006 UTC

  Modified files:  
/phpdoc/en/reference/ctype/functionsctype-alnum.xml 
  Log:
  Close #39024
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.8r2=1.9diff_format=u
Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.8 
phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.9
--- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.8 Tue Jul 25 
11:08:44 2006
+++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Tue Oct  3 11:02:51 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --
 refentry id=function.ctype-alnum
  refnamediv
@@ -18,7 +18,7 @@
parametertext/parameter, are alphanumeric. In the standard
literalC/literal locale letters are just literal[A-Za-z]/literal
and the function is equivalent to
-   literalpreg_match('/^[a-z0-9]+$/i', $text)/literal.
+   literalpreg_match('/^[a-z0-9]+$/iD', $text)/literal.
   /para
  /refsect1
 


[PHP-DOC] #38934 [Com]: move_uploaded_file() cannot read uploaded file outside of open_basedir

2006-10-03 Thread youza at post dot cz
 ID:   38934
 Comment by:   youza at post dot cz
 Reported By:  phpbugs at thequod dot de
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Ubuntu Linux
 PHP Version:  5.1.6
 New Comment:

See this bug -  http://bugs.php.net/bug.php?id=37236
not any response from PHP :-)))


Previous Comments:


[2006-10-02 20:03:38] phpbugs at thequod dot de

Since when? As far as I understood, you have expected it 
to work like this (when trying to reproduce it).

Also, from older bug reports, it had been fixed to work 
like this again.

Additionally, from a security perspective, it would open 
up the upload_tmp_dir for all processes sharing the same 
php.ini/upload_tmp_dir and you would have to manually set 
it for every vhost where you use open_basedir for to an 
own directory.

If it's supposed to stay a documentation problem, please 
emphasize it in the NEWS/upgrade docs, because as it is 
now (e.g. failing since 5.1.6), it will break all upload 
scripts for hosts that use open_basedir.

IMHO it should work just like expected: PHP should 
internally allow the temporary uploaded file to get stored 
in upload_tmp_dir and should allow move_uploaded_file() to 
move it - PHP should know that it has to make an exception 
here to the regular open_basedir restriction (and it 
seemed to have done so before).



[2006-10-02 09:28:17] [EMAIL PROTECTED]

Reclassified as docu problem.
upload_tmp_dir must be in open_basedir() to be readable/writable.



[2006-09-30 15:25:14] phpbugs at thequod dot de

Just tried it with PHP_5_2 (CVS), resulting in:
Warning: Unknown: open_basedir restriction in effect. 
File(/tmp) is not within the allowed path(s): (/var/www) 
in Unknown on line 0
 
 Warning: File upload error - unable to create a temporary 
file in Unknown on line 0


I've configured PHP just 
with --with-apxs2=/usr/bin/apxs2 and use this simple 
php.ini file:
open_basedir = /var
display_errors=on
display_startup_errors=On
error_reporting=E_ALL



[2006-09-29 18:29:26] moron at industrial dot org

Sorry for the flurry.  In our case it turned out that the error message
was just misleading.  A simple permissions issue on the target directory
was the cause (arrgh) but the error message explicitly stated that the
problem was the open_basedir setting of the upload_tmp directory.  So
more of an annoyance than a show stopper in our case.



[2006-09-29 18:13:11] moron at industrial dot org

Sorry, forgot to note that in our case, upload_tmp_dir is explicitly
set.



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

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


[PHP-DOC] #39024 [NEW]: regex equivalent for ctype_alnum() is wrong

2006-10-03 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  regex equivalent for ctype_alnum() is wrong

Description:

The manual page for ctype_alnum() -
http://www.php.net/manual/en/function.ctype-alnum.php - states that the
function is equivalent to preg_match('/^[a-z0-9]+$/i', $text).. However $
matches a trailing newline as well as the end of the subject; it should be
replaced with \z which only matches the end of the subject.

Reproduce code:
---
$s = abc\n;
var_dump(ctype_alnum($s), preg_match(/^[a-z0-9]+$/i, $s));

Expected result:

bool(false)
int(0)

Actual result:
--
bool(false)
int(1)

-- 
Edit bug report at http://bugs.php.net/?id=39024edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39024r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39024r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39024r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39024r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=39024r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=39024r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=39024r=needscript
Try newer version:http://bugs.php.net/fix.php?id=39024r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=39024r=support
Expected behavior:http://bugs.php.net/fix.php?id=39024r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=39024r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=39024r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39024r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39024r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39024r=dst
IIS Stability:http://bugs.php.net/fix.php?id=39024r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=39024r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39024r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=39024r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=39024r=mysqlcfg


[PHP-DOC] #39024 [Opn-Csd]: regex equivalent for ctype_alnum() is wrong

2006-10-03 Thread joey
 ID:  39024
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 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.

Fixed in CVS.


Previous Comments:


[2006-10-03 10:56:34] [EMAIL PROTECTED]

Description:

The manual page for ctype_alnum() -
http://www.php.net/manual/en/function.ctype-alnum.php - states that
the function is equivalent to preg_match('/^[a-z0-9]+$/i', $text)..
However $ matches a trailing newline as well as the end of the subject;
it should be replaced with \z which only matches the end of the subject.

Reproduce code:
---
$s = abc\n;
var_dump(ctype_alnum($s), preg_match(/^[a-z0-9]+$/i, $s));

Expected result:

bool(false)
int(0)

Actual result:
--
bool(false)
int(1)





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


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

2006-10-03 Thread Antony Dovgal
tony2001Tue Oct  3 10:16:55 2006 UTC

  Modified files:  
/phpdoc/en/reference/memcache   ini.xml 
  Log:
  new ini directive
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/memcache/ini.xml?r1=1.2r2=1.3diff_format=u
Index: phpdoc/en/reference/memcache/ini.xml
diff -u phpdoc/en/reference/memcache/ini.xml:1.2 
phpdoc/en/reference/memcache/ini.xml:1.3
--- phpdoc/en/reference/memcache/ini.xml:1.2Fri Sep  8 08:48:15 2006
+++ phpdoc/en/reference/memcache/ini.xmlTue Oct  3 10:16:55 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 section id=memcache.ini
  reftitle.runtime;
  extension.runtime;
@@ -38,7 +38,7 @@
/tgroup
   /table
   ini.php.constants;
-/para
+ /para
 
 ini.descriptions.title;
 
@@ -58,6 +58,20 @@
/listitem
   /varlistentry
   
+  varlistentry id=ini.memcache.max-failover-attempts
+   term
+parametermemcache.max_failover_attempts/parameter
+typeinteger/type
+   /term
+   listitem
+para
+ Defines how many servers to try when setting and getting data.
+ Used only in conjunction with memcache.allow_failover.
+ This directive is available since version 2.1.0.
+/para
+   /listitem
+  /varlistentry
+  
   varlistentry id=ini.memcache.chunk-size
term
 parametermemcache.chunk_size/parameter
@@ -87,7 +101,7 @@
   /varlistentry
   
  /variablelist
- /para
+/para
 /section
 
 !-- Keep this comment at the end of the file


[PHP-DOC] Sugestões para correções no manual pt_BR

2006-10-03 Thread Ribamar Sousa

Olá!

Eu li o manual do PHP em português do Brasil e contrei algumas
passagens que podem ser melhoradas e outras que realmente têm alguns
erros.

Criei uma versão com minhas sugestões de correção e gostaria de
compartilhar com a equipe.

Como faço para enviar este material para a equipe?

--
Ribamar FS - ribafs[ ]users.sourceforge.net
http://www.ribafs.net


[PHP-DOC] #39028 [NEW]: [chm] bug on ref.errorfunc.html

2006-10-03 Thread nk at dotlike dot com
From: nk at dotlike dot com
Operating system: windows
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  [chm] bug on ref.errorfunc.html

Description:

I have found a bug on page ref.errorfunc.html
[chm date: 2006-09-05]...

Topic: Error Handling and Logging Functions
Example 545. Using error handling in a script
line: E_RECOVERABLE_ERRROR = 'Catchable Fatal Error'

E_RECOVERABLE_ERRROR should be E_RECOVERABLE_ERROR




-- 
Edit bug report at http://bugs.php.net/?id=39028edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39028r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39028r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39028r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39028r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=39028r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=39028r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=39028r=needscript
Try newer version:http://bugs.php.net/fix.php?id=39028r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=39028r=support
Expected behavior:http://bugs.php.net/fix.php?id=39028r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=39028r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=39028r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39028r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39028r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39028r=dst
IIS Stability:http://bugs.php.net/fix.php?id=39028r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=39028r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39028r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=39028r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=39028r=mysqlcfg


[PHP-DOC] cvs: phpdoc /en/reference/ibm_db2/functions db2-exec.xml db2-execute.xml

2006-10-03 Thread Jean-S�bastien Goupil
jsgoupilTue Oct  3 23:10:41 2006 UTC

  Modified files:  
/phpdoc/en/reference/ibm_db2/functions  db2-exec.xml db2-execute.xml 
  Log:
  fix typo (differnt) + fix WS + fix Example (closing ?
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-exec.xml?r1=1.8r2=1.9diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-exec.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.8 
phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.9
--- phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.8  Tue Oct  3 
01:49:39 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-exec.xml  Tue Oct  3 23:10:41 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
--
 refentry id=function.db2-exec
  refnamediv
@@ -187,10 +187,10 @@
example
 titleReturning XML data as a SQL ResultSet/title
 para
-The following example demonstrates how to work with documents stored 
-in a XML column using the SAMPLE database. Using some pretty simple 
-SQL/XML, this example returns some of the nodes in a XML document in 
-a SQL ResultSet format that most users are familiar with.
+ The following example demonstrates how to work with documents stored 
+ in a XML column using the SAMPLE database. Using some pretty simple 
+ SQL/XML, this example returns some of the nodes in a XML document in 
+ a SQL ResultSet format that most users are familiar with.
 /para
 programlisting role=php
 ![CDATA[
@@ -229,11 +229,11 @@
example
 titlePerforming a JOIN with XML data/title
 para
-The following example works with documents stored in 2 differnt 
-XML columns in the SAMPLE database. It creates 2 temporary 
-tables from the XML documents from 2 different columns and 
-returns a SQL ResultSet with information regarding shipping 
-status for the customer.
+ The following example works with documents stored in 2 different 
+ XML columns in the SAMPLE database. It creates 2 temporary 
+ tables from the XML documents from 2 different columns and 
+ returns a SQL ResultSet with information regarding shipping 
+ status for the customer.
 /para
 programlisting role=php
 ![CDATA[
@@ -286,9 +286,9 @@
example
 titleReturning SQL data as part of a larger XML document/title
 para
-The following example works with a portion of the PRODUCT.DESCRIPTION 
-documents in the SAMPLE database. It creates a XML document containing 
-product description (XML data) and pricing info (SQL data).
+ The following example works with a portion of the PRODUCT.DESCRIPTION 
+ documents in the SAMPLE database. It creates a XML document containing 
+ product description (XML data) and pricing info (SQL data).
 /para
 programlisting role=php
 ![CDATA[
@@ -334,7 +334,6 @@
 db2_close($conn);
 
 ?
-?
 ]]
 /programlisting
 example.outputs;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-execute.xml?r1=1.7r2=1.8diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-execute.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.7 
phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.8
--- phpdoc/en/reference/ibm_db2/functions/db2-execute.xml:1.7   Tue Oct  3 
01:49:39 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-execute.xml   Tue Oct  3 
23:10:41 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
 !-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
--
 refentry id=function.db2-execute
  refnamediv
@@ -138,10 +138,10 @@
example
 titleReturning XML data as a SQL ResultSet/title
 para
-The following example demonstrates how to work with documents stored 
-in a XML column using the SAMPLE database. Using some pretty simple 
-SQL/XML, this example returns some of the nodes in a XML document in 
-a SQL ResultSet format that most users are familiar with.
+ The following example demonstrates how to work with documents stored 
+ in a XML column using the SAMPLE database. Using some pretty simple 
+ SQL/XML, this example returns some of the nodes in a XML document in 
+ a SQL ResultSet format that most users are familiar with.
 /para
 programlisting role=php
 ![CDATA[
@@ -188,11 +188,11 @@
example
 titlePerforming a JOIN with XML data/title
 para
-The following example works with documents stored in 2 differnt 
-XML columns in the SAMPLE database. It creates 2 temporary 
-tables from the XML documents from 2 different columns and 
-returns a SQL ResultSet with information regarding shipping 
-status for the customer.
+ The following example works with documents stored in 2 different 
+ XML columns in the 

[PHP-DOC] cvs: phpdoc /en/docweb main.ent

2006-10-03 Thread Etienne Kneuss
colder  Tue Oct  3 23:13:41 2006 UTC

  Modified files:  
/phpdoc/en/docweb   main.ent 
  Log:
  Implement phpt-generator on docweb
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/docweb/main.ent?r1=1.26r2=1.27diff_format=u
Index: phpdoc/en/docweb/main.ent
diff -u phpdoc/en/docweb/main.ent:1.26 phpdoc/en/docweb/main.ent:1.27
--- phpdoc/en/docweb/main.ent:1.26  Thu Aug 11 15:26:11 2005
+++ phpdoc/en/docweb/main.ent   Tue Oct  3 23:13:41 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.26 $ --
+!-- $Revision: 1.27 $ --
 
 !-- common --
 !ENTITY docweb.common.title.default 'PHP Documentation Tools'
@@ -173,3 +173,31 @@
 !-- notes stats --
 !ENTITY docweb.notes-stats.last-updated 'Last updated:'
 
+!-- phpt generator --
+!ENTITY docweb.phpt.implemented 'Implemented'
+!ENTITY docweb.phpt.approved 'Approved'
+!ENTITY docweb.phpt.filled 'Filled'
+!ENTITY docweb.phpt.imported 'Imported'
+!ENTITY docweb.phpt.return 'Return'
+!ENTITY docweb.phpt.edit.error 'Unable to edit this test.'
+!ENTITY docweb.phpt.edit.ok 'This test has been successfully edited!'
+!ENTITY docweb.phpt.edit 'Edit a test'
+!ENTITY docweb.phpt.generate 'Generate'
+!ENTITY docweb.phpt.edit.title 'Title:'
+!ENTITY docweb.phpt.edit.skipif 'Skipif:'
+!ENTITY docweb.phpt.edit.test 'Test:'
+!ENTITY docweb.phpt.edit.expected 'Expected:'
+!ENTITY docweb.phpt.edit.approve 'Approve'
+!ENTITY docweb.phpt.commit 'Commit!'
+!ENTITY docweb.phpt.limitreached 'Notice: the limit of 200 search results has 
been reached.'
+!ENTITY docweb.phpt.list 'List tests'
+!ENTITY docweb.phpt.import 'Import tests from documentation'
+!ENTITY docweb.phpt.search 'Search'
+!ENTITY docweb.phpt.delete 'Delete'
+!ENTITY docweb.phpt.list.id 'Id lt;editgt;'
+!ENTITY docweb.phpt.list.location 'Location lt;cvsgt;'
+!ENTITY docweb.phpt.list.title 'Title'
+!ENTITY docweb.phpt.list.status 'Status'
+!ENTITY docweb.phpt.delete 'Delete'
+!ENTITY docweb.phpt.editidnotfound 'Unknown test id.'
+


[PHP-DOC] cvs: phpdoc /en/reference/ibm_db2/functions db2-set-option.xml

2006-10-03 Thread Jean-S�bastien Goupil
jsgoupilTue Oct  3 23:46:07 2006 UTC

  Modified files:  
/phpdoc/en/reference/ibm_db2/functions  db2-set-option.xml 
  Log:
  fix example
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml?r1=1.1r2=1.2diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1 
phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.2
--- phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1Tue Oct 
 3 02:35:03 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-set-option.xmlTue Oct  3 
23:46:07 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id=function.db2-set-option
   refnamediv
 refnamedb2_set_option/refname
@@ -328,8 +328,8 @@
 $hostname = 'localhost';
 $port = 5;
 $protocol = 'TCPIP';
-$username = 'db2inst1'; //change to db2inst1
-$password = 'ibmdb2'; //change to ibmdb2
+$username = 'db2inst1';
+$password = 'ibmdb2';
 
 /* Connection String */
 $conn_string = DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;;
@@ -469,7 +469,6 @@
 programlisting role=php
 ![CDATA[
 ?php
-
 /* Database Connection Parameters */
 $database = 'SAMPLE';
 $hostname = 'localhost';


Re: [PHP-DOC] cvs: phpdoc /en/reference/ibm_db2/functions db2-set-option.xml

2006-10-03 Thread Jean-Sébastien Goupil
Is that really useful to have so many examples which fail since we know 
we have to pass valid values?

I don't think we should explain all possibilities of failure...

file : db2-set-options.xml

Jean-Sébastien Goupil
[EMAIL PROTECTED]
http://other.lookstrike.com



Jean-Sébastien Goupil a écrit :

jsgoupilTue Oct  3 23:46:07 2006 UTC

  Modified files:  
/phpdoc/en/reference/ibm_db2/functions	db2-set-option.xml 
  Log:

  fix example
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml?r1=1.1r2=1.2diff_format=u

Index: phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1 
phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.2
--- phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1Tue Oct 
 3 02:35:03 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-set-option.xmlTue Oct  3 
23:46:07 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.1 $ --
+!-- $Revision: 1.2 $ --
 refentry id=function.db2-set-option
   refnamediv
 refnamedb2_set_option/refname
@@ -328,8 +328,8 @@
 $hostname = 'localhost';
 $port = 5;
 $protocol = 'TCPIP';
-$username = 'db2inst1'; //change to db2inst1
-$password = 'ibmdb2'; //change to ibmdb2
+$username = 'db2inst1';
+$password = 'ibmdb2';
 
 /* Connection String */

 $conn_string = DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;;
@@ -469,7 +469,6 @@
 programlisting role=php
 ![CDATA[
 ?php
-
 /* Database Connection Parameters */
 $database = 'SAMPLE';
 $hostname = 'localhost';

  


[PHP-DOC] #39030 [NEW]: table with colname (colspec problem)

2006-10-03 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Livedocs problem
Bug description:  table with colname (colspec problem)

Description:

In en/reference/ibm_db2/functions/db2-set-option.xml

There are named columns
like that

  colspec colnum=1 colname=col1 align=center /
  colspec colnum=2 colname=col2 align=center /
  colspec colnum=3 colname=col3 align=center /
  colspec colnum=4 colname=col4 align=center /
  colspec colnum=5 colname=col5 align=center /

and after 

row
  entry colname=col3Connection/entry
  entry colname=col4Statement/entry
  entry colname=col5Result Set/entry
/row


is supposed to display the value into the col3, 4, and 5...

Livedocs displays the cell above in col1, 2, 3


-- 
Edit bug report at http://bugs.php.net/?id=39030edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39030r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39030r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39030r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39030r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=39030r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=39030r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=39030r=needscript
Try newer version:http://bugs.php.net/fix.php?id=39030r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=39030r=support
Expected behavior:http://bugs.php.net/fix.php?id=39030r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=39030r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=39030r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39030r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39030r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39030r=dst
IIS Stability:http://bugs.php.net/fix.php?id=39030r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=39030r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39030r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=39030r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=39030r=mysqlcfg


[PHP-DOC] cvs: phpdoc /en/docweb main.ent

2006-10-03 Thread Etienne Kneuss
colder  Wed Oct  4 00:42:05 2006 UTC

  Modified files:  
/phpdoc/en/docweb   main.ent 
  Log:
  missing 2 entities for phptgen
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/docweb/main.ent?r1=1.27r2=1.28diff_format=u
Index: phpdoc/en/docweb/main.ent
diff -u phpdoc/en/docweb/main.ent:1.27 phpdoc/en/docweb/main.ent:1.28
--- phpdoc/en/docweb/main.ent:1.27  Tue Oct  3 23:13:41 2006
+++ phpdoc/en/docweb/main.ent   Wed Oct  4 00:42:05 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.27 $ --
+!-- $Revision: 1.28 $ --
 
 !-- common --
 !ENTITY docweb.common.title.default 'PHP Documentation Tools'
@@ -200,4 +200,6 @@
 !ENTITY docweb.phpt.list.status 'Status'
 !ENTITY docweb.phpt.delete 'Delete'
 !ENTITY docweb.phpt.editidnotfound 'Unknown test id.'
+!ENTITY docweb.common.linkname.phpt-generator 'Phpt generator'
+!ENTITY docweb.common.header.phptgen 'Phpt files generator'
 


[PHP-DOC] cvs: phpdoc /en/reference/ibm_db2/functions db2-set-option.xml

2006-10-03 Thread Jean-S�bastien Goupil
jsgoupilWed Oct  4 00:44:12 2006 UTC

  Modified files:  
/phpdoc/en/reference/ibm_db2/functions  db2-set-option.xml 
  Log:
  removing ^M char
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml?r1=1.2r2=1.3diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.2 
phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.3
--- phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.2Tue Oct 
 3 23:46:07 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-set-option.xmlWed Oct  4 
00:44:12 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 refentry id=function.db2-set-option
   refnamediv
 refnamedb2_set_option/refname
@@ -386,7 +386,7 @@
 $conn_string .= UID=$username;PWD=$password;;
 
 /* Obtain Connection Resource */
-$conn = db2_connect($conn_string, '', '');
+$conn = db2_connect($conn_string, '', '');
 
 /* Create the associative options array with valid key-value pairs */
 $options = array('autocommit' = DB2_AUTOCOMMIT_OFF,