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

2005-11-08 Thread Dan Scott
dbs Tue Nov  8 23:38:23 2005 EDT

  Modified files:  
/phpdoc/en/reference/pdo_odbc   reference.xml 
  Log:
  Correct uncataloged DSN for DB2.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo_odbc/reference.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/pdo_odbc/reference.xml
diff -u phpdoc/en/reference/pdo_odbc/reference.xml:1.8 
phpdoc/en/reference/pdo_odbc/reference.xml:1.9
--- phpdoc/en/reference/pdo_odbc/reference.xml:1.8  Mon Sep 26 17:15:29 2005
+++ phpdoc/en/reference/pdo_odbc/reference.xml  Tue Nov  8 23:38:22 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -136,7 +136,7 @@
an IBM DB2 database named SAMPLE using the full
ODBC DSN syntax:


   


[PHP-DOC] #35161 [NEW]: Inaccurate documentation about popen() escaping in safe_mode

2005-11-08 Thread brion at pobox dot com
From: brion at pobox dot com
Operating system: Mac OS X
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Inaccurate documentation about popen() escaping in safe_mode

Description:

This bug was reported some months ago about odd escaping in 
popen() when safe_mode is on:
http://bugs.php.net/bug.php?id=32701

Arguments correctly escaped, as with escapeshellarg(), end 
up being unexpectedly corrupted under safe_mode with the 
addition of unexpected backslashes.

The bug was marked as BOGUS. If it this is the intended 
behavior, the documentation needs to be modified to reflect 
this. Currently the docs for popen() and several other 
functions include only this caveat:

"With safe mode enabled, all words following the initial 
command string are treated as a single argument. Thus, echo 
y | echo x becomes echo "y | echo x"."

However that is *false*:
1) Multiple arguments are sent where separated by spaces.
2) Quotes seem to be understood, so multi-word arguments are 
themselves passed intact.
3) In addition to this sensible behavior, many characters 
have backslashes inserted before them, even if they are 
inside already-quoted arguments.

Accurate documentation, and an explanation of how to get 
parameters to the other program without corruption, would be  
a huge help in making our programs work correctly under 
safe_mode.

cf http://bugzilla.wikimedia.org/show_bug.cgi?id=3891#c13


Reproduce code:
---
=-'", "r");
print(stream_get_contents($r));
pclose($r);
?>

Expected result:

-=< Test >=-


Actual result:
--
-=\< Test \>=-


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


[PHP-DOC] #35157 [NEW]: There is no "max_allowed_package" mysql config variable

2005-11-08 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: *
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  There is no "max_allowed_package" mysql config variable

Description:

http://www.php.net/manual/en/function.mysqli-stmt-bind-param.php

Isn't the correct configuration variable mentioned here called
"max_allowed_packet" ??

It also mentions 'package' in couple of other places where it  propably
should be saying 'packet' ?



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