[PHP-DOC] #30239 [NEW]: French Error ob_start()

2004-09-26 Thread jsgoupil at lookstrike dot com
From: jsgoupil at lookstrike dot com
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  French Error ob_start()

Description:

http://ca3.php.net/ob_start (french)

Si vous les appelez depuis une fonction de collback

supposed to be

callback


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


[PHP-DOC] #30239 [Opn-Csd]: French Error ob_start()

2004-09-26 Thread aidan
 ID:  30239
 Updated by:  [EMAIL PROTECTED]
 Reported By: jsgoupil at lookstrike dot com
-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.


Previous Comments:


[2004-09-26 09:03:44] jsgoupil at lookstrike dot com

Description:

http://ca3.php.net/ob_start (french)

Si vous les appelez depuis une fonction de collback

supposed to be

callback






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


[PHP-DOC] Re: #30239 [Opn-Csd]: French Error ob_start()

2004-09-26 Thread Mehdi Achour
Aidan, do you understand french ?
Mehdi
[EMAIL PROTECTED] wrote:
 ID:  30239
 Updated by:  [EMAIL PROTECTED]
 Reported By: jsgoupil at lookstrike dot com
-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.
Previous Comments:

[2004-09-26 09:03:44] jsgoupil at lookstrike dot com
Description:

http://ca3.php.net/ob_start (french)
Si vous les appelez depuis une fonction de collback
supposed to be
callback





[PHP-DOC] cvs: phpdoc /en/reference/misc/functions highlight-file.xml

2004-09-26 Thread Aidan Lister
aidan   Sun Sep 26 10:10:49 2004 EDT

  Modified files:  
/phpdoc/en/reference/misc/functions highlight-file.xml 
  Log:
  Removed the crazy code, added note about phps highlighting
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/highlight-file.xml?r1=1.18r2=1.19ty=u
Index: phpdoc/en/reference/misc/functions/highlight-file.xml
diff -u phpdoc/en/reference/misc/functions/highlight-file.xml:1.18 
phpdoc/en/reference/misc/functions/highlight-file.xml:1.19
--- phpdoc/en/reference/misc/functions/highlight-file.xml:1.18  Thu Aug 26 19:45:39 
2004
+++ phpdoc/en/reference/misc/functions/highlight-file.xml   Sun Sep 26 10:10:49 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.18 $ --
+!-- $Revision: 1.19 $ --
 !-- splitted from ./en/functions/misc.xml, last change in rev 1.22 --
   refentry id=function.highlight-file
refnamediv
@@ -32,84 +32,34 @@
   4.2.0.  Before this time it behaved like the default, which is false;
  /simpara
 /note
+note
+ simpara
+  Since PHP 4.2.1 this function is also affected by link
+  linkend=ini.safe-modesafe_mode/link and link
+  linkend=ini.open-basediropen_basedir/link.
+ /simpara
+/note
 caution
  simpara
   Care should be taken when using the
-  functionshow_source/function and
-  functionhighlight_file/function functions to make sure that
+  functionhighlight_file/function function to make sure that
   you do not inadvertently reveal sensitive information such as
   passwords or any other type of information that might create a
   potential security risk.
  /simpara
 /caution
-note
- simpara
-  Since PHP 4.2.1 this function is also affected by link
-  linkend=ini.safe-modesafe_mode/link and link
-  linkend=ini.open-basediropen_basedir/link.
- /simpara
-/note
-simpara
- To setup a URL that can code highlight any script that you pass to
- it, we will make use of the ForceType directive in
- Apache to generate a nice URL pattern, and use the 
- function functionhighlight_file/function to show a nice looking
- code list.
-/simpara
-simpara
- In your httpd.conf; you can add the following:
-/simpara
 para
- example
-  titleCreating a source highlighting URL/title
-  programlisting role=apache-conf
-![CDATA[
-Location /source
-ForceType application/x-httpd-php
-/Location
-]]
-  /programlisting
-  simpara
-   And then make a file named filenamesource/filename and put it in your
-   web root directory.
-  /simpara
-  programlisting role=php
-![CDATA[
-html
-head
-titleSource Display/title
-/head
-body bgcolor=white
-?php
-$script = getenv('SCRIPT_FILENAME');
-if (!$script) {
-echo br /bERROR: Script Name needed/bbr /;
-} else {
-if (ereg((\\.php|\\.inc)$, $script)) {
-echo h1Source of:  . getenv(PATH_INFO) . /h1\nhr /\n;
-highlight_file($script);
-} else {
-echo h1ERROR: Only PHP or include script names are allowed/h1; 
-}
-}
-echo hr /Processed:  . date(Y/M/d H:i:s, time());
-?
-/BODY
-/HTML
-]]
-  /programlisting
-  simpara
-   Then you can use a URL like the one below to display a colorized
-   version of a script located in /path/to/script.php 
-   in your web site.
-  /simpara
-  screen
+ Many servers are configured to automatically highlight files
+ with a emphasisphps/emphasis extension. For example,
+ filenameexample.phps/filename when viewed will show the
+ syntax highlighted source of the file. To enable this, add this
+ line to the httpd.conf;:
+/para
+screen
 ![CDATA[
-http://www.example.com/source/path/to/script.php
+AddType application/x-httpd-php-source .phps
 ]]
-  /screen
- /example
-/para
+/screen
 simpara
  See also functionhighlight_string/function.
 /simpara


[PHP-DOC] Re: #30239 [Opn-Csd]: French Error ob_start()

2004-09-26 Thread Aidan Lister
Oui,
Je parle francias un petit pa.
callback is rappel in french, so I figured it must be a typo.
Is there any problem with me fixing bugs in other languages? 

- Original Message - 
From: Mehdi Achour [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 26, 2004 11:30 PM
Subject: Re: #30239 [Opn-Csd]: French Error ob_start()


Aidan, do you understand french ?
Mehdi
[EMAIL PROTECTED] wrote:
 ID:  30239
 Updated by:  [EMAIL PROTECTED]
 Reported By: jsgoupil at lookstrike dot com
-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.
Previous Comments:

[2004-09-26 09:03:44] jsgoupil at lookstrike dot com
Description:

http://ca3.php.net/ob_start (french)
Si vous les appelez depuis une fonction de collback
supposed to be
callback






[PHP-DOC] broken link update

2004-09-26 Thread psyche
broken link update:

from:

http://www.gnu.org/manual/tar-1.12/html_chapter/tar_7.html

to:

http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html

(Datetime functions)

greetz,
Mirek Rusin


Re: [PHP-DOC] broken link update

2004-09-26 Thread Nuno Lopes
Hi,
This was already fixed a long time ago. Please update your manual.
Nuno
- Original Message - 
broken link update:
from:
http://www.gnu.org/manual/tar-1.12/html_chapter/tar_7.html
to:
http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html
(Datetime functions)
greetz,
Mirek Rusin