[PHP-DOC] cvs: phpdoc /scripts revcheck.php
tom Sun Dec 22 04:45:57 2002 EDT Modified files: /phpdoc/scripts revcheck.php Log: next try to fix the dir-prob. Index: phpdoc/scripts/revcheck.php diff -u phpdoc/scripts/revcheck.php:1.33 phpdoc/scripts/revcheck.php:1.34 --- phpdoc/scripts/revcheck.php:1.33Sat Dec 14 07:57:45 2002 +++ phpdoc/scripts/revcheck.php Sun Dec 22 04:45:57 2002 @@ -90,12 +90,13 @@ // Main directory of the PHP documentation (depends on the // sapi used). We do need the trailing slash! -$sapi_type = php_sapi_name(); -if ($sapi_type === cli){ -$DOCDIR = ./; - }else { -$DOCDIR = ../; -} +if (cli === php_sapi_name()) { + if (isset($PHPDOCDIR) is_dir($PHPDOCDIR)) + $DOCDIR = $PHPDOCDIR./; + else + $DOCDIR = ./; +} else + $DOCDIR = ../; // = // Functions to get revision info and credits from a file -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Problem with the revcheck page
I cannot check it on *nix, I would probably commit and wait to see if it works or not, unless noone replys with some negative comments ;) Goba Done. I just have to correct myself: the cli-story is different due to the working-dirs, but I tried it just with my batchfiles, which always step directly into the scripts-dir :) The env.-var on Cygwin gets also through, but didn't remember remember that our php.ini doesn't set the track-vars, so just didn't get it into $_ENV. Cu, Thomas -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] Documentation for nl2br()
Hello dear PHP documentation team, I suggest you add in the documentation that 1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a break element before every newline. 2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it, but does not create a new string. If this were already included, it had saved me a lot of time and confusion. When you add this, you should remove my comment from the nl2br() documentation. Bye -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Documentation for nl2br()
On Sun, 22 Dec 2002, Christian Wolfgang Hujer wrote: Hello dear PHP documentation team, I suggest you add in the documentation that 1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a break element before every newline. From the documentation: nl2br -- Inserts HTML line breaks before all newlines in a string 2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it, but does not create a new string. uhm, it doesn't do that. Can you provide a script to demonstrate? Derick -- - Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Documentation for nl2br()
Am Sonntag, 22. Dezember 2002 12:17 schrieb Derick Rethans: On Sun, 22 Dec 2002, Christian Wolfgang Hujer wrote: Hello dear PHP documentation team, I suggest you add in the documentation that 1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a break element before every newline. From the documentation: nl2br -- Inserts HTML line breaks before all newlines in a string 2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it, but does not create a new string. uhm, it doesn't do that. Can you provide a script to demonstrate? Yeah, it does. Oh, sorry it doesn't. I confused myself. Sorry. Please also delete my user contributed note. And reading properly helps. Somehow I was reading inserts *for* all newlines instead of inserts *before* all newlines. Sorry for any inconvenience and taking your time. Bye and thanks a lot. Sorry. -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/image/functionsimagesetstyle.xml
On Fri, 20 Dec 2002 03:34:54 - Damien Seguy [EMAIL PROTECTED] wrote: dams Thu Dec 19 22:34:54 2002 EDT Modified files: /phpdoc/en/reference/image/functions imagesetstyle.xml Log: fixing error in the example It seems there's an error in the code, there s no code generated in the phpdoc page: http://www.php.net/manual/en/function.imagesetstyle.php hth pierre -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Problem with the revcheck page
I've not been following this nor do I know this topic very well but iirc as of 4.3.0 the default for CLI is to not do relative includes. In otherwords, the . is not in include_path anymore for it by default. I think that began in 4.3.0...? Maybe that is related. And regarding track_vars, that's not it. The only directive, as of PHP 4.0.3, that can affect the presence of predefined php variables is the directive variables_order. If it lacks for example E then no $_ENV will exist. track_vars is always on. For this (ENV), getenv() will always work. Regards, Philip On Sun, 22 Dec 2002, [ISO-8859-1] Thomas Schöfbeck wrote: I cannot check it on *nix, I would probably commit and wait to see if it works or not, unless noone replys with some negative comments ;) Goba Done. I just have to correct myself: the cli-story is different due to the working-dirs, but I tried it just with my batchfiles, which always step directly into the scripts-dir :) The env.-var on Cygwin gets also through, but didn't remember remember that our php.ini doesn't set the track-vars, so just didn't get it into $_ENV. Cu, Thomas -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagesetstyle.xml
gobaSun Dec 22 14:46:03 2002 EDT Modified files: /phpdoc/en/reference/image/functionsimagesetstyle.xml Log: Fix example, so it will display properly. Also modify example title... Index: phpdoc/en/reference/image/functions/imagesetstyle.xml diff -u phpdoc/en/reference/image/functions/imagesetstyle.xml:1.4 phpdoc/en/reference/image/functions/imagesetstyle.xml:1.5 --- phpdoc/en/reference/image/functions/imagesetstyle.xml:1.4 Thu Dec 19 22:34:54 2002 +++ phpdoc/en/reference/image/functions/imagesetstyle.xml Sun Dec 22 14:46:02 +2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.43 -- refentry id=function.imagesetstyle refnamediv @@ -25,8 +25,9 @@ Following example script draws a dashed line from upper left to lower right corner of the canvas: example - titleimagesetstyle/title + titlefunctionimagesetstyle/function example/title programlisting role=php +![CDATA[ ?php header (Content-type: image/jpeg); $im = imagecreate (100, 100); @@ -51,7 +52,7 @@ imagejpeg ($im); imagedestroy ($im); ? - +]] /programlisting /example /para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/image/functionsimagesetstyle.xml
dams Thu Dec 19 22:34:54 2002 EDT Modified files: /phpdoc/en/reference/image/functions imagesetstyle.xml Log: fixing error in the example It seems there's an error in the code, there s no code generated in the phpdoc page: http://www.php.net/manual/en/function.imagesetstyle.php Fixed. The problem was that the PHP PI have eaten up every code line... Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/array/functions array-flip.xml
jmcastagnetto Sun Dec 22 16:29:57 2002 EDT Modified files: /phpdoc/en/reference/array/functionsarray-flip.xml Log: Fix short description. Bug #21141 Index: phpdoc/en/reference/array/functions/array-flip.xml diff -u phpdoc/en/reference/array/functions/array-flip.xml:1.4 phpdoc/en/reference/array/functions/array-flip.xml:1.5 --- phpdoc/en/reference/array/functions/array-flip.xml:1.4 Sun May 12 04:19:28 2002 +++ phpdoc/en/reference/array/functions/array-flip.xml Sun Dec 22 16:29:56 2002 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/array.xml, last change in rev 1.107 -- refentry id=function.array-flip refnamediv refnamearray_flip/refname -refpurposeFlip all the values of an array/refpurpose +refpurposeExchanges all keys with their associated values in an +array/refpurpose /refnamediv refsect1 titleDescription/title -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #21141 [Opn-Csd]: Unclear manual entry for array_flip
ID: 21141 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Doesn't matter PHP Version: 4CVS-2002-12-22 (dev) New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2002-12-22 10:44:56] [EMAIL PROTECTED] The short description for the function array_flip() (On the pages http://www.php.net/manual/en/ref.array.php and http://www.php.net/manual/en/function.array-flip.php)is not very accurate. A description like flips all the key = value pairs in the array or exchanges all keys with the associated values and vice versa would be more helpful if someone is looking for a function that does what array_flip does. -- Edit this bug report at http://bugs.php.net/?id=21141edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/network/functions debugger-off.xml debugger-on.xml
jmcastagnetto Sun Dec 22 18:31:21 2002 EDT Modified files: /phpdoc/en/reference/network/functions debugger-off.xml debugger-on.xml Log: Adding link to the 'Debugging PHP' appendix Making clear that debugger is only available in PHP 3 Index: phpdoc/en/reference/network/functions/debugger-off.xml diff -u phpdoc/en/reference/network/functions/debugger-off.xml:1.2 phpdoc/en/reference/network/functions/debugger-off.xml:1.3 --- phpdoc/en/reference/network/functions/debugger-off.xml:1.2 Wed Apr 17 02:42:03 2002 +++ phpdoc/en/reference/network/functions/debugger-off.xml Sun Dec 22 18:31:21 +2002 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/network.xml, last change in rev 1.2 -- refentry id=function.debugger-off refnamediv refnamedebugger_off/refname -refpurposeDisable internal PHP debugger/refpurpose +refpurposeDisable internal PHP debugger (PHP 3)/refpurpose /refnamediv refsect1 titleDescription/title @@ -13,9 +13,14 @@ void/ /methodsynopsis para - Disables the internal PHP debugger. The debugger is still under - development. + Disables the internal PHP debugger. This function is only + available in PHP 3. /para +simpara + For more information see the appendix on link + linkend=appendices.debugger;Debugging + PHP/link +/simpara /refsect1 /refentry Index: phpdoc/en/reference/network/functions/debugger-on.xml diff -u phpdoc/en/reference/network/functions/debugger-on.xml:1.2 phpdoc/en/reference/network/functions/debugger-on.xml:1.3 --- phpdoc/en/reference/network/functions/debugger-on.xml:1.2 Wed Apr 17 02:42:03 2002 +++ phpdoc/en/reference/network/functions/debugger-on.xml Sun Dec 22 18:31:21 +2002 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/network.xml, last change in rev 1.2 -- refentry id=function.debugger-on refnamediv refnamedebugger_on/refname -refpurposeEnable internal PHP debugger/refpurpose +refpurposeEnable internal PHP debugger (PHP 3)/refpurpose /refnamediv refsect1 titleDescription/title @@ -14,9 +14,14 @@ /methodsynopsis para Enables the internal PHP debugger, connecting it to - parameteraddress/parameter. The debugger is still under - development. + parameteraddress/parameter. This function is only + available in PHP 3. /para +simpara + For more information see the appendix on link + linkend=appendices.debugger;Debugging + PHP/link +/simpara /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #21145 [Opn]: CLI version of PHP always prints HTTP headers.
ID: 21145 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Unknown/Other Function +Bug Type: Documentation problem Operating System: Linux - Debian Woody PHP Version: 4CVS-2002-12-22 (stable) New Comment: When you compile both the CGI and CLI (without specifying install paths and without other sapi's) make install will overwrite the installed CLI version with the CGI one (both are installed by default into /usr/local/bin). You can solve this by make install-cli (to overwrite the installed CGI again). Previous Comments: [2002-12-22 15:14:38] [EMAIL PROTECTED] Please explain to the doc team how to document this new behavior in PHP, regarding the CLI/CGI build process. And the various problems (such as this ncurses one) that may/will arise. [2002-12-22 12:55:46] [EMAIL PROTECTED] I just reconfigured with --enable-cli and recompiled with the same results. It always says cgi in php -v, no matter if I configure it as a CLI or not. [2002-12-22 12:49:55] [EMAIL PROTECTED] Just in case I wasn't clear enough on what HTTP headers where printed, they follow: Content-type: text/html X-Powered-By: PHP/4.3.0-dev [2002-12-22 12:48:08] [EMAIL PROTECTED] try running php -v I bet you're using the CGI. Not a bug - bogus. Derick [2002-12-22 12:46:22] [EMAIL PROTECTED] The CLI version of PHP always prints the headers. This may be related to my configure settings, which follow. './configure' '--enable-bcmath' '--enable-pcntl' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-tokenizer' '--with-pear' '--with-curl' '--with-mysql' '--with-gettext' '--with-mcrypt' '--with-mhash' '--with-ming' '--with-ncurses=/root/ncurses-5.3' '--with-shmop' '--enable-sockets' -- Edit this bug report at http://bugs.php.net/?id=21145edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #14595 [Com]: Iplanet Webserver 6.0 related
ID: 14595 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Documentation problem Operating System: WIN2K PHP Version: 4.1.0 New Comment: Could you guyz give me the url to download iPlanet web server 6.0 SP9 What's the latest version for iPlanet Web Server Any help in this regards would be highly appreciated pls mail me up at [EMAIL PROTECTED] Previous Comments: [2002-10-02 10:58:45] [EMAIL PROTECTED] Yes, you are right, whatever specified on PHP site is for iPlanet Web Server 4.x version. For 6.x it has to be placed in magnus.conf. So on the PHP documentation user has to be instructed to place the Init fn lines on magnus.conf and rest of the things on obj.conf Thanks Prem Kumar, V [2002-07-11 01:00:06] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to Open. [2002-06-10 18:15:36] [EMAIL PROTECTED] Can someone else confirm this? [2001-12-18 23:08:16] [EMAIL PROTECTED] the installation doc says that the init section for Init fn=load-modules funcs=php4_init,php4_close,php4_execute,php4_auth_trans shlib=c:/php/sapi/php4nsapi.dll Init fn=php4_init errorString=Failed to initialise PHP! should be placed obj.conf i dunno about older IWS but the one i use 6.0 Entprise, the two init lines should be place in a file called called magnus.conf.. just thought that you PHP guys should know.. took me a while to figure it out.. first try failed and had to resort to running PHP as CGI.. PHP rocks!! -- Edit this bug report at http://bugs.php.net/?id=14595edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php