[PHP-DOC] #25208 [Csd-Opn]: Typos in the security chapter

2003-08-23 Thread goba
 ID:   25208
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Closed
+Status:   Open
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

Erm, using amp; and  interchangeably in URLs is not a solution. That
page should either use  or amp; for every URL parameter. IMHO the
later would be good.


Previous Comments:


[2003-08-22 07:39:18] [EMAIL PROTECTED]

I have fixed the error (b) in CVS, the bug is closed now.

+1 for a XHTML compliant documentation, but this shuold be discussed on
[EMAIL PROTECTED], not in a bug report ;)

didou



[2003-08-22 07:21:27] [EMAIL PROTECTED]

Actually for XHTML/HTML Conformance, that first amp; *should* be an
amp; and so should the the second . 

Which brings about the question, should we start to change things like
this to bring examples upto standards compliant (X)HTML? Has the
decision been made whether HTML in the manual should be HTML or XHTML
yet?

He is right about the extraneous  after the 1 though.

- Davey



[2003-08-22 06:58:46] [EMAIL PROTECTED]

Description:

The second example included in the section `security.errors' (Error
Reporting), goes something like this:

  form method=POST
action=attacktarget?errors=Yamp;showerrors=1debug=1
  input type=hidden name=errors value=Y
  input type=hidden name=showerrors value=1
  input type=hidden name=debug value=1
  /form


There's a couple of errors in the `form' tag: (a) the `amp;' entity
shouldn't be there, and (b) there is one `' too many.

Thanks.






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



[PHP-DOC] cvs: phpdoc /en/security index.xml

2003-08-23 Thread ali
ali Sat Aug 23 05:34:25 2003 EDT

  Modified files:  
/phpdoc/en/security index.xml 
  Log:
  added XHTML entity, see #25208 for more information
  
  
Index: phpdoc/en/security/index.xml
diff -u phpdoc/en/security/index.xml:1.60 phpdoc/en/security/index.xml:1.61
--- phpdoc/en/security/index.xml:1.60   Fri Aug 22 08:37:02 2003
+++ phpdoc/en/security/index.xmlSat Aug 23 05:34:25 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.60 $ --
+!-- $Revision: 1.61 $ --
  chapter id=security.index
   titleSecurity/title
 
@@ -947,7 +947,7 @@
  titleExploiting common debugging variables/title
  programlisting role=php
 ![CDATA[
-form method=POST action=attacktarget?errors=Yamp;showerrors=1debug=1
+form method=POST action=attacktarget?errors=Yamp;showerrors=1amp;debug=1
 input type=hidden name=errors value=Y
 input type=hidden name=showerrors value=1
 input type=hidden name=debug value=1




[PHP-DOC] #25208 [Opn-Csd]: Typos in the security chapter

2003-08-23 Thread ali
 ID:   25208
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

I added the XHTML entity for the ampersand in the example, as i also
think an XHTML compatible doc makes sense.

I'm setting this bug-status to closed, altough this contributes to an
inconsistent manual.

-ali


Previous Comments:


[2003-08-23 04:09:34] [EMAIL PROTECTED]

Erm, using amp; and  interchangeably in URLs is not a solution. That
page should either use  or amp; for every URL parameter. IMHO the
later would be good.



[2003-08-22 07:39:18] [EMAIL PROTECTED]

I have fixed the error (b) in CVS, the bug is closed now.

+1 for a XHTML compliant documentation, but this shuold be discussed on
[EMAIL PROTECTED], not in a bug report ;)

didou



[2003-08-22 07:21:27] [EMAIL PROTECTED]

Actually for XHTML/HTML Conformance, that first amp; *should* be an
amp; and so should the the second . 

Which brings about the question, should we start to change things like
this to bring examples upto standards compliant (X)HTML? Has the
decision been made whether HTML in the manual should be HTML or XHTML
yet?

He is right about the extraneous  after the 1 though.

- Davey



[2003-08-22 06:58:46] [EMAIL PROTECTED]

Description:

The second example included in the section `security.errors' (Error
Reporting), goes something like this:

  form method=POST
action=attacktarget?errors=Yamp;showerrors=1debug=1
  input type=hidden name=errors value=Y
  input type=hidden name=showerrors value=1
  input type=hidden name=debug value=1
  /form


There's a couple of errors in the `form' tag: (a) the `amp;' entity
shouldn't be there, and (b) there is one `' too many.

Thanks.






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



[PHP-DOC] cvs: phpdoc /en/reference/xslt/functions xslt-create.xml

2003-08-23 Thread Derick Rethans
derick  Sat Aug 23 06:43:44 2003 EDT

  Modified files:  
/phpdoc/en/reference/xslt/functions xslt-create.xml 
  Log:
  - Fix code style
  
Index: phpdoc/en/reference/xslt/functions/xslt-create.xml
diff -u phpdoc/en/reference/xslt/functions/xslt-create.xml:1.5 
phpdoc/en/reference/xslt/functions/xslt-create.xml:1.6
--- phpdoc/en/reference/xslt/functions/xslt-create.xml:1.5  Tue Aug 19 07:51:01 
2003
+++ phpdoc/en/reference/xslt/functions/xslt-create.xml  Sat Aug 23 06:43:44 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/xslt.xml, last change in rev 1.3 --
   refentry id=function.xslt-create
refnamediv
@@ -22,7 +22,7 @@
   programlisting role=php
 ![CDATA[
 ?php
-function xml2html($xmldata,$xsl) { 
+function xml2html($xmldata, $xsl) { 
 /* $xmldata - your xml */
 /* $xsl - xslt file */ 
 
@@ -31,10 +31,10 @@
 $xsltproc = xslt_create();
 xslt_set_encoding($xsltproc, 'ISO-8859-1');
 $html =
-xslt_process($xsltproc,'arg:/_xml',$path/$xsl,NULL,$arguments);
+xslt_process($xsltproc, 'arg:/_xml', $path/$xsl, NULL, $arguments);
 
 if (empty($html)) {
-   die('XSLT processing error: '.xslt_error($xsltproc));
+   die('XSLT processing error: '. xslt_error($xsltproc));
 }
 xslt_free($xsltproc);
 return $html;




[PHP-DOC] #25219 [NEW]: Wrong type for DIRECTORY_SEPERATOR constant

2003-08-23 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Wrong type for DIRECTORY_SEPERATOR constant

Description:

On the page http://uk.php.net/manual/en/reserved.constants.standard.php
the constant DIRECTORY_SEPERATOR has a TYPE of (integer) when in actual
fact it is a (string) (a / or \) unless I'm missing something?

- Davey


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



[PHP-DOC] #25219 [Opn-Ana]: Wrong type for DIRECTORY_SEPERATOR constant

2003-08-23 Thread ali
 ID:   25219
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Analyzed
 Bug Type: Documentation problem
 Operating System: irrelevant
 PHP Version:  Irrelevant
 New Comment:

ext/standard/dir.c states on line 136:

REGISTER_STRING_CONSTANT(DIRECTORY_SEPARATOR, dirsep_str,
CONST_CS|CONST_PERSISTENT);

I did not take a closer look at REGISTER_STRING_CONSTANT, but the name
of this macro lets me assume, thats it really is a string-constant.

But maybe someone wants to correct me.

-ali



Previous Comments:


[2003-08-23 08:13:27] [EMAIL PROTECTED]

Description:

On the page http://uk.php.net/manual/en/reserved.constants.standard.php
the constant DIRECTORY_SEPERATOR has a TYPE of (integer) when in actual
fact it is a (string) (a / or \) unless I'm missing something?

- Davey






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



[PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-affected-rows.xml

2003-08-23 Thread Georg Richter
georg   Sat Aug 23 11:49:43 2003 EDT

  Modified files:  
/phpdoc/en/reference/mysqli/functions   mysqli-affected-rows.xml 
  Log:
  added role for programlisting (thx to didou)
  
  
Index: phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.8 
phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.9
--- phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.8   Fri Aug 22 
08:08:49 2003
+++ phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml   Sat Aug 23 
11:49:43 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
   refentry id=function.mysqli-affected-rows
refnamediv
 refnamemysqli_affected_rows/refname
@@ -52,7 +52,7 @@
 ]]
   /programlisting
   paraObject oriented style:/para
-  programlisting
+  programlisting role=php
 ![CDATA[
 ?php
 /* connect to database */




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

2003-08-23 Thread Gabor Hojtsy
gobaSat Aug 23 13:46:55 2003 EDT

  Modified files:  
/phpdoc/en/appendices   reserved.constants.standard.xml 
  Log:
  Fix type of dir separator
  
Index: phpdoc/en/appendices/reserved.constants.standard.xml
diff -u phpdoc/en/appendices/reserved.constants.standard.xml:1.7 
phpdoc/en/appendices/reserved.constants.standard.xml:1.8
--- phpdoc/en/appendices/reserved.constants.standard.xml:1.7Wed May 28 19:03:06 
2003
+++ phpdoc/en/appendices/reserved.constants.standard.xmlSat Aug 23 13:46:55 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
 
 !-- DOCNOTE: some constants listed here are also there at
  reference/info/constants.xml. Further decision is needed
@@ -526,7 +526,7 @@
 varlistentry
  term
   constantDIRECTORY_SEPARATOR/constant 
-  (typeinteger/type)
+  (typestring/type)
  /term
  listitem
   simpara




[PHP-DOC] #25219 [Ana-Csd]: Wrong type for DIRECTORY_SEPERATOR constant

2003-08-23 Thread goba
 ID:   25219
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Analyzed
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: irrelevant
 PHP Version:  Irrelevant
 New Comment:

So I have fixed the XML.


Previous Comments:


[2003-08-23 09:12:11] [EMAIL PROTECTED]

ext/standard/dir.c states on line 136:

REGISTER_STRING_CONSTANT(DIRECTORY_SEPARATOR, dirsep_str,
CONST_CS|CONST_PERSISTENT);

I did not take a closer look at REGISTER_STRING_CONSTANT, but the name
of this macro lets me assume, thats it really is a string-constant.

But maybe someone wants to correct me.

-ali




[2003-08-23 08:13:27] [EMAIL PROTECTED]

Description:

On the page http://uk.php.net/manual/en/reserved.constants.standard.php
the constant DIRECTORY_SEPERATOR has a TYPE of (integer) when in actual
fact it is a (string) (a / or \) unless I'm missing something?

- Davey






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