Re: [PHP-DOC] #20850 [Csd-Opn]: str_shuffle needs documentation - attache
May someone with karma commit the attached xml. I will ask for karma later today. Andrey - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 9:15 AM Subject: [PHP-DOC] #20850 [Csd-Opn]: str_shuffle needs documentation ID: 20850 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type:Documentation problem PHP Version: 4CVS-2002-12-05 (dev) New Comment: That thing @ zend.com is usually not what people use. It's a bug, and thus it belongs in the bugsystem. Previous Comments: [2002-12-05 22:05:47] [EMAIL PROTECTED] Nevermind. I see that this function appears on the list at http://www.zend.com/phpfunc/nodoku.php. There's not much point to me doubling up the information. :) [2002-12-05 20:36:33] [EMAIL PROTECTED] Please add str_shuffle to the documentation. Here's the comment from the source code (ext/standard/string.c): /* {{{ proto void str_shuffle(string str) Shuffles string. One permutation of all possible is created */ -- Edit this bug report at http://bugs.php.net/?id=20850edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.str_shuffle refnamediv refnamestr_shuffle/refname refpurposeShuffle an string/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnamestr_shuffle/methodname methodparamtypestring/typeparameterstr/parameter/methodparam /methodsynopsis para This function shuffles (randomizes the order of the chars in) an string. You must use functionsrand/function to seed this function. The randomization method is the same as in functionshuffle/function. Keep in mind that unlike functionshuffle/function this function does not change the parameter passed to it but instead returns the randomized string. example titlefunctionstr_shuffle/function example/title programlisting role=php ![CDATA[ srand ((float)microtime()*100); $shuffled = str_shuffle (foo bar); echo sprintf([%s]\n, $shuffled); ]] /programlisting /example /para para See also functionshuffle/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] docs about fix
Fixed strstr(), strchr() and strrchr() to be binary safe Andrey ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strstr refnamediv refnamestrstr/refname refpurposeFind first occurrence of a string/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnamestrstr/methodname methodparamtypestring/typeparameterhaystack/parameter/methodparam methodparamtypestring/typeparameterneedle/parameter/methodparam /methodsynopsis para Returns part of parameterhaystack/parameter string from the first occurrence of parameterneedle/parameter to the end of parameterhaystack/parameter. /para para If parameterneedle/parameter is not found, returns false;. /para para If parameterneedle/parameter is not a string, it is converted to an integer and applied as the ordinal value of a character. /para note para This function is case-sensitive. For case-insensitive searches, use functionstristr/function. /para para In PHP 4.3.0 functionfile/function became binary safe. /para /note para example titlefunctionstrstr/function example/title programlisting role=php ![CDATA[ $email = '[EMAIL PROTECTED]'; $domain = strstr($email, '@'); print $domain; // prints @example.com ]] /programlisting /example /para para See also functionereg/function, functionpreg_match/function, functionstrchr/function, functionstristr/function, functionstrpos/function, functionstrrchr/function, and functionsubstr/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strrchr refnamediv refnamestrrchr/refname refpurpose Find the last occurrence of a character in a string /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnamestrrchr/methodname methodparamtypestring/typeparameterhaystack/parameter/methodparam methodparamtypestring/typeparameterneedle/parameter/methodparam /methodsynopsis para This function returns the portion of parameterhaystack/parameter which starts at the last occurrence of parameterneedle/parameter and goes until the end of parameterhaystack/parameter. /para para Returns false; if parameterneedle/parameter is not found. /para para If parameterneedle/parameter contains more than one character, the first is used. /para para If parameterneedle/parameter is not a string, it is converted to an integer and applied as the ordinal value of a character. example titlefunctionstrrchr/function example/title programlisting role=php ![CDATA[ // get last directory in $PATH $dir = substr(strrchr($PATH, :), 1); // get everything after last newline $text = Line 1\nLine 2\nLine 3; $last = substr(strrchr($text, 10), 1 ); ]] /programlisting /example /para note para In PHP 4.3.0 functionfile/function became binary safe. /para /note para See also functionstrchr/function, functionsubstr/function, functionstristr/function, and functionstrstr/function. /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strchr refnamediv refnamestrchr/refname refpurpose Find the first occurrence of a character /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnamestrchr/methodname methodparamtypestring/typeparameterhaystack/parameter/methodparam methodparamtypestring/typeparameterneedle/parameter/methodparam /methodsynopsis para
Re: [PHP-DOC] #20850 [Csd-Opn]: str_shuffle needs documentation - attache
I just downloaded the xml of shuffle and modified it for str_shuffle. So if it is not needed then the documentation of shuffle() must be fixed. Best regards Andrey Hristov - Original Message - From: Philip Olson [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 11:34 AM Subject: Re: [PHP-DOC] #20850 [Csd-Opn]: str_shuffle needs documentation - attache I'm assuming a random seed isn't required as of PHP 4.2.0... Regards, Philip On Fri, 6 Dec 2002, Andrey Hristov wrote: May someone with karma commit the attached xml. I will ask for karma later today. Andrey - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 9:15 AM Subject: [PHP-DOC] #20850 [Csd-Opn]: str_shuffle needs documentation ID: 20850 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type:Documentation problem PHP Version: 4CVS-2002-12-05 (dev) New Comment: That thing @ zend.com is usually not what people use. It's a bug, and thus it belongs in the bugsystem. Previous Comments: [2002-12-05 22:05:47] [EMAIL PROTECTED] Nevermind. I see that this function appears on the list at http://www.zend.com/phpfunc/nodoku.php. There's not much point to me doubling up the information. :) [2002-12-05 20:36:33] [EMAIL PROTECTED] Please add str_shuffle to the documentation. Here's the comment from the source code (ext/standard/string.c): /* {{{ proto void str_shuffle(string str) Shuffles string. One permutation of all possible is created */ -- Edit this bug report at http://bugs.php.net/?id=20850edit=1 -- 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] #20855 [NEW]: chmod can't display correctly (french chm)
From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.2.3 PHP Bug Type: Documentation problem Bug description: chmod can't display correctly (french chm) In the french windows chm file, the access to the chmod fonction in the System file menu (index fonction) return a The page cannot be displayed (since last year ) : the link is incorrect : file://H:\phpdoc\fr\function.chmod.html As you see : the link is hard coded. So it's good for the documentation team (because the file is really on them hard drive H), but not for the end user !!! Please, can you correct this error ? Max -- Edit bug report at http://bugs.php.net/?id=20855edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20855r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20855r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20855r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20855r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20855r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=20855r=support Expected behavior: http://bugs.php.net/fix.php?id=20855r=notwrong Not enough info:http://bugs.php.net/fix.php?id=20855r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=20855r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20855r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20855r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20855r=dst IIS Stability: http://bugs.php.net/fix.php?id=20855r=isapi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #20855 [Opn-Asn]: chmod can't display correctly (french chm)
ID: 20855 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.3 New Comment: checking it out... Previous Comments: [2002-12-06 05:03:41] [EMAIL PROTECTED] In the french windows chm file, the access to the chmod fonction in the System file menu (index fonction) return a The page cannot be displayed (since last year ) : the link is incorrect : file://H:\phpdoc\fr\function.chmod.html As you see : the link is hard coded. So it's good for the documentation team (because the file is really on them hard drive H), but not for the end user !!! Please, can you correct this error ? Max -- Edit this bug report at http://bugs.php.net/?id=20855edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] Modified docs for strspn() and strcspn() functions
Attached are the modified docs Andrey ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strspn refnamediv refnamestrspn/refname refpurpose Find length of a segment matching mask /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnamestrspn/methodname methodparamtypestring/typeparameterstr1/parameter/methodparam methodparamtypestring/typeparameterstr2/parameter/methodparam methodparam choice=opttypeint/typeparameterstart/parameter/methodparam methodparam choice=opttypeint/typeparameterlength/parameter/methodparam /methodsynopsis simpara Returns the length of the segment of parameterstr1/parameter which consists entirely of characters in parameterstr2/parameter. In case only 2 parameters are passed the length of the initial segment is returned. On the other hand if the additional parameters parameterstart/parameter and parameterlength/parameter are provided only part of the string will be checked. The way these parameters are handled is the same as in the functionsubstr/function function (this functionality is available in versions gt;= 4.3.0). /simpara para The line of code: informalexample programlisting role=php ![CDATA[ $var1 = strspn(42 is the answer, what is the question ..., 1234567890.); $var2 = strspn(This extended functionality starts at 4.3.0 version, 1234567890., 38); //returns 5 - 4.3.0 $var3 = strspn(This extended functionality starts at 4.3.0 version, 1234567890., 40); //returns 3 - 3.0 $var4 = strspn(This extended functionality starts at 4.3.0 version, 1234567890., 38,3); //returns 3 - 4.3 ]] /programlisting /informalexample will assign 2 to varname$var1/varname, because the string 42 will be the longest segment containing characters from 1234567890. (counted from the beggining of the string). varname$var2/varname, varname$var3/varname and varname$var4/varname will contain respectively 5, 3 and 3. varname$var3/varname will be 3 because the search is started at position 40th in the string and the longest segment is 3.0. Because of the 4th parameter in the last example only 3 positions in the string are checked from 38 through 41. This range contains the 4.3 string. /para simpara See also functionstrcspn/function. /simpara /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -- refentry id=function.strcspn refnamediv refnamestrcspn/refname refpurpose Find length of a segment not matching mask /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnamestrcspn/methodname methodparamtypestring/typeparameterstr1/parameter/methodparam methodparamtypestring/typeparameterstr2/parameter/methodparam methodparam choice=opttypeint/typeparameterstart/parameter/methodparam methodparam choice=opttypeint/typeparameterlength/parameter/methodparam /methodsynopsis simpara Returns the length of a segment of parameterstr1/parameter which does emphasisnot/emphasis contain any of the characters in parameterstr2/parameter. In case only 2 parameters are passed the length of the initial segment is returned. On the other hand if the additional parameters parameterstart/parameter and parameterlength/parameter are provided only part of the string will be checked. The way these parameters are handled is the same as in the functionsubstr/function function (this functionality is available in versions gt;= 4.3.0). /simpara para The line of code: informalexample programlisting role=php ![CDATA[ $var1 = strcspn(so 42 is the answer, what is the question ..., 1234567890); $var2 = strcspn(This extended functionality starts at 4.3.0 version, 1234567890., 28); //returns 10 - starts at $var3 = strcspn(This extended functionality starts at 4.3.0 version, 1234567890., 28,6); //returns 6 - starts $var4 = strcspn(This extended functionality starts at 4.3.0 version, 1234567890., 28,16); //returns 10 - starts at ]] /programlisting /informalexample will assign 3 to varname$var1/varname, because the string so will be the longest segment not containing
Re: [PHP-DOC] docs about fix
Please provide a unified diff (diff -u) against the latest CVS (cvs diff -u) Sander On Fri, Dec 06, 2002 at 11:29:31AM +0200, Andrey Hristov wrote: Fixed strstr(), strchr() and strrchr() to be binary safe Andrey -- 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
Re: [PHP-DOC] docs about fix
They are already binary safe in the cvs. These are modifications in the docs. Best regards Andrey Hristov - Original Message - From: Sander Roobol [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 1:40 PM Subject: Re: [PHP-DOC] docs about fix Please provide a unified diff (diff -u) against the latest CVS (cvs diff -u) Sander On Fri, Dec 06, 2002 at 11:29:31AM +0200, Andrey Hristov wrote: Fixed strstr(), strchr() and strrchr() to be binary safe Andrey -- 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 Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] docs about fix
On Fri, Dec 06, 2002 at 02:46:55PM +0200, Andrey Hristov wrote: They are already binary safe in the cvs. These are modifications in the docs. Yeah, so I'm asking you to provide a unified diff of the docs you updated. Sander Best regards Andrey Hristov - Original Message - From: Sander Roobol [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 1:40 PM Subject: Re: [PHP-DOC] docs about fix Please provide a unified diff (diff -u) against the latest CVS (cvs diff -u) Sander On Fri, Dec 06, 2002 at 11:29:31AM +0200, Andrey Hristov wrote: Fixed strstr(), strchr() and strrchr() to be binary safe Andrey -- 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 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
Re: [PHP-DOC] Modified docs for strspn() and strcspn() functions
When new parameters are introduced, they require a note such as: note simpara The parameterfoo/parameter and parameterbar/parameter parameters became available in PHP 4.3.0 /simpara /note Regards, Philip On Fri, 6 Dec 2002, Andrey Hristov wrote: Attached are the modified docs Andrey -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Modules/Extensions not in 4.3
This raises up a good point. PEAR is starting to take shape and more and more extensions are moving into PEAR/PECL. What do we do? PECL extensions are documented in the PEAR manual, not here. Since most of these extension moves are so recent, (4.3.0), we should probably continue to document them until they are moved into the PEAR manual. Sure:-) I think you should do PECL ones as well as it will really help the peardoc team and provide a good framework. Yes, but adding information about how to configure PHP for this extensions does not make sense IMHO. Once they are in PECL there are two possibilities: 1.) popular extension - bundled with PHP and adding infos about configure options make sense. 2.) not so popular or whatever else - not bundled with PHP. compile/configure Options are different, so it makes no sense to me to add/move this info to the docs. [...] Moved extensions are mentioned in NEWS: http://www.php.net/php4news Thanks I got it:-) Removed in 4.3 ext/aspell ext/ccvs ext/cybercash ext/icap sapi/fhttpd ICAP docs are deleted (at least excluded from the build process) For aspell I suggest the same solution as for ICAP: 1.) exlude them from the build process 2.) make sure php.net/aspell points to php.net/pspell 3.) put a note in pspell like that in php.net/mcal For CCVS the same as above with a pointer to MCVE As far as i know there is no replacement for Cybercash. I suggest to 1.) exclude the functions from the build process 2.) modify reference.xml containing a short note about the removal About the moved extensions: moved to PECL in 4.3 ext/vpopmail ext/cybermut moved to PECL in 4.2.0 ext/satellite ext/mailparse As long as the docs not moved we should at least provide the users some information about: 1.) the move 2.) where to get the code for the extensions Ok, satellite docs are moved. Regards Friedhelm P.S.: Maybe we can find a general solution how to handle removed and moved extensions. You made a suggestion later in the thread, it should be in the TODO. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /entities faqurls.ent
betzFri Dec 6 17:31:45 2002 EDT Modified files: /phpdoc/entitiesfaqurls.ent Log: update snmp link Index: phpdoc/entities/faqurls.ent diff -u phpdoc/entities/faqurls.ent:1.9 phpdoc/entities/faqurls.ent:1.10 --- phpdoc/entities/faqurls.ent:1.9 Sun Oct 20 21:55:06 2002 +++ phpdoc/entities/faqurls.ent Fri Dec 6 17:31:45 2002 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: faqurls.ent,v 1.9 2002/10/21 01:55:06 sniper Exp $ + $Id: faqurls.ent,v 1.10 2002/12/06 22:31:45 betz Exp $ Contains macros for all the XML documents within the FAQ. @@ -57,7 +57,7 @@ !ENTITY faqurl.quickzip http://quickzip.ifroggy.com/; !ENTITY faqurl.readline ftp://prep.ai.mit.edu/pub/gnu/readline/; !ENTITY faqurl.sleepycat http://www.sleepycat.com/; -!ENTITY faqurl.snmp http://www.ece.ucdavis.edu/ucd-snmp/; +!ENTITY faqurl.snmp http://net-snmp.sourceforge.net/; !ENTITY faqurl.stuffit http://www.stuffit.com/; !ENTITY faqurl.sybase http://www.php.net/extra/ctlib-linux-elf.tar.gz; !ENTITY faqurl.t1lib ftp://sunsite.unc.edu/pub/Linux/libs/graphics/; -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #20869 [NEW]: money_format needs documentation
From: [EMAIL PROTECTED] Operating system: PHP version: 4CVS-2002-12-06 (dev) PHP Bug Type: Documentation problem Bug description: money_format needs documentation OK, here's another function needing docs. string money_format(string format, float value) Convert monetary value(s) to string This function wraps strfmon (the C function). You can get a full description by reading the man page. One difference is that the PHP function converts one number instead of any number of them. Here's a simple example: ? print(money_format([%^=*#6n], 1234.567)); ? -- Edit bug report at http://bugs.php.net/?id=20869edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20869r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20869r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20869r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20869r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20869r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=20869r=support Expected behavior: http://bugs.php.net/fix.php?id=20869r=notwrong Not enough info:http://bugs.php.net/fix.php?id=20869r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=20869r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20869r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20869r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20869r=dst IIS Stability: http://bugs.php.net/fix.php?id=20869r=isapi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #14298 [Asn-Csd]: PUT method not supported in PHP 4
ID: 14298 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type:Documentation problem PHP Version: 4.0.6 Assigned To: hholzgra Previous Comments: [2002-12-01 23:58:32] [EMAIL PROTECTED] 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. Provided example of using php://stdin and note re: change from PHP3. [2002-11-12 07:41:26] [EMAIL PROTECTED] this is a PHP 3 only feature that noone ever ported to PHP 4 ... with 4.3 you will be able to read the PUT data from the php://input stream as the $PHP_PUT stuff in PHP 3 seems to be something almost never used and as the new streams solution is so easy to use i think it is not worth to port the PHP 3 feature here ... in 4.3 you will be able to just do a $in = fopen(php://input,rb); $out = fopen($outfile,wb); while(!feof($in)) { fwrite($out, fread($in, $bufsize)); } fclose($in); fclose($out); no nead to deal with temporary files, no disk space wasted when the script doesn't need the PUT data, and the approach is not limited to PUT requests but will work with all HTTP methods carrying content changed to documentation problem [2002-05-13 08:27:02] [EMAIL PROTECTED] Just wanted to drop a note about a test I've done: I tried a simple perl script getting the PUT file and it worked. Calling the same script through PHP yields no file meaning that PHP does something the uploaded file since the perlscript used by itself works and then called through PHP does'nt. [2002-05-09 07:55:50] [EMAIL PROTECTED] If you find the temporary file variable I would be much obliged if you could drop me a line. BTW I was thinking would'nt it be better to have the PUT values in the superglobal $_FILES ? Or at least in a $HTTP_PUT_FILE var. A possible solution could be something like the following: $HTTP_PUT_FILE['request_uri'] Path of the proposed upload like /mytest/filename.htm $HTTP_PUT_FILE['path_translated'] The full path of the proposed upload like /usr/home/foo/bar/public_html/mytest/filename.htm $HTTP_PUT_FILE['size'] The size, in bytes, of the uploaded file. $HTTP_PUT_FILE['tmp_name'] Temp name something like /tmp/hfdhjfufd8733 My only bad is that I cant program in C otherwise I would have been there doing it already. [2002-05-08 09:44:42] [EMAIL PROTECTED] Current status on this is that I ignored it for a while - I am taking a look at it again. 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/14298 -- Edit this bug report at http://bugs.php.net/?id=14298edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/ncurses/functions ncurses-addch.xml ncurses-addchnstr.xml ncurses-addchstr.xml ncurses-addnstr.xml ncurses-addstr.xml ncurses-assume-default-colors.xml ncurses-attroff.xml ncurses-attron.xml ncurses-attrset.xml ncurses-baudrate.xml ncurses-bkgd.xml ncurses-bkgdset.xml ncurses-border.xml ncurses-color-set.xml ncurses-curs-set.xml ncurses-define-key.xml ncurses-delay-output.xml ncurses-delwin.xml ncurses-echochar.xml ncurses-end.xml ncurses-filter.xml ncurses-getch.xml ncurses-halfdelay.xml ncurses-has-key.xml ncurses-hline.xml ncurses-init-color.xml ncurses-init-pair.xml ncurses-init.xml ncurses-insch.xml ncurses-insdelln.xml ncurses-insstr.xml ncurses-keyok.xml ncurses-mouseinterval.xml ncurses-move.xml ncurses-mvaddch.xml ncurses-mvaddchnstr.xml ncurses-mvaddchstr.xml ncurses-mvaddnstr.xml ncurses-mvaddstr.xml ncurses-mvcur.xml ncurses-mvdelch.xml ncurses-mvgetch.xml ncurses-mvhline.xml ncurses-mvinch.xml ncurses-mvvline.xml ncurses-mvwaddstr.xml ncurses-napms.xml ncurses-newwin.xml ncurses-nl.xml ncurses-nonl.xml ncurses-noqiflush.xml ncurses-putp.xml ncurses-qiflush.xml ncurses-refresh.xml ncurses-scr-dump.xml ncurses-scr-init.xml ncurses-scr-restore.xml ncurses-scr-set.xml ncurses-scrl.xml ncurses-slk-attroff.xml ncurses-slk-attron.xml ncurses-slk-attrset.xml ncurses-slk-color.xml ncurses-slk-noutrefresh.xml ncurses-standend.xml ncurses-standout.xml ncurses-start-color.xml ncurses-termattrs.xml ncurses-timeout.xml ncurses-typeahead.xml ncurses-ungetch.xml ncurses-use-default-colors.xml ncurses-use-env.xml ncurses-use-extended-names.xml ncurses-vidattr.xml ncurses-vline.xml ncurses-wrefresh.xml
damsFri Dec 6 21:13:38 2002 EDT Modified files: /phpdoc/en/reference/ncurses/functions ncurses-addch.xml ncurses-addchnstr.xml ncurses-addchstr.xml ncurses-addnstr.xml ncurses-addstr.xml ncurses-assume-default-colors.xml ncurses-attroff.xml ncurses-attron.xml ncurses-attrset.xml ncurses-baudrate.xml ncurses-bkgd.xml ncurses-bkgdset.xml ncurses-border.xml ncurses-color-set.xml ncurses-curs-set.xml ncurses-define-key.xml ncurses-delay-output.xml ncurses-delwin.xml ncurses-echochar.xml ncurses-end.xml ncurses-filter.xml ncurses-getch.xml ncurses-halfdelay.xml ncurses-has-key.xml ncurses-hline.xml ncurses-init-color.xml ncurses-init-pair.xml ncurses-init.xml ncurses-insch.xml ncurses-insdelln.xml ncurses-insstr.xml ncurses-keyok.xml ncurses-mouseinterval.xml ncurses-move.xml ncurses-mvaddch.xml ncurses-mvaddchnstr.xml ncurses-mvaddchstr.xml ncurses-mvaddnstr.xml ncurses-mvaddstr.xml ncurses-mvcur.xml ncurses-mvdelch.xml ncurses-mvgetch.xml ncurses-mvhline.xml ncurses-mvinch.xml ncurses-mvvline.xml ncurses-mvwaddstr.xml ncurses-napms.xml ncurses-newwin.xml ncurses-nl.xml ncurses-nonl.xml ncurses-noqiflush.xml ncurses-putp.xml ncurses-qiflush.xml ncurses-refresh.xml ncurses-scr-dump.xml ncurses-scr-init.xml ncurses-scr-restore.xml ncurses-scr-set.xml ncurses-scrl.xml ncurses-slk-attroff.xml ncurses-slk-attron.xml ncurses-slk-attrset.xml ncurses-slk-color.xml ncurses-slk-noutrefresh.xml ncurses-standend.xml ncurses-standout.xml ncurses-start-color.xml ncurses-termattrs.xml ncurses-timeout.xml ncurses-typeahead.xml
[PHP-DOC] #14298 [Csd-Opn]: PUT method not supported in PHP 4
ID: 14298 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type:Documentation problem PHP Version: 4.0.6 Assigned To: hholzgra Previous Comments: [2002-12-01 23:58:32] [EMAIL PROTECTED] 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. Provided example of using php://stdin and note re: change from PHP3. [2002-11-12 07:41:26] [EMAIL PROTECTED] this is a PHP 3 only feature that noone ever ported to PHP 4 ... with 4.3 you will be able to read the PUT data from the php://input stream as the $PHP_PUT stuff in PHP 3 seems to be something almost never used and as the new streams solution is so easy to use i think it is not worth to port the PHP 3 feature here ... in 4.3 you will be able to just do a $in = fopen(php://input,rb); $out = fopen($outfile,wb); while(!feof($in)) { fwrite($out, fread($in, $bufsize)); } fclose($in); fclose($out); no nead to deal with temporary files, no disk space wasted when the script doesn't need the PUT data, and the approach is not limited to PUT requests but will work with all HTTP methods carrying content changed to documentation problem [2002-05-13 08:27:02] [EMAIL PROTECTED] Just wanted to drop a note about a test I've done: I tried a simple perl script getting the PUT file and it worked. Calling the same script through PHP yields no file meaning that PHP does something the uploaded file since the perlscript used by itself works and then called through PHP does'nt. [2002-05-09 07:55:50] [EMAIL PROTECTED] If you find the temporary file variable I would be much obliged if you could drop me a line. BTW I was thinking would'nt it be better to have the PUT values in the superglobal $_FILES ? Or at least in a $HTTP_PUT_FILE var. A possible solution could be something like the following: $HTTP_PUT_FILE['request_uri'] Path of the proposed upload like /mytest/filename.htm $HTTP_PUT_FILE['path_translated'] The full path of the proposed upload like /usr/home/foo/bar/public_html/mytest/filename.htm $HTTP_PUT_FILE['size'] The size, in bytes, of the uploaded file. $HTTP_PUT_FILE['tmp_name'] Temp name something like /tmp/hfdhjfufd8733 My only bad is that I cant program in C otherwise I would have been there doing it already. [2002-05-08 09:44:42] [EMAIL PROTECTED] Current status on this is that I ignored it for a while - I am taking a look at it again. 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/14298 -- Edit this bug report at http://bugs.php.net/?id=14298edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #20843 [Opn]: Alt text in documentation pages hamper accessibility
ID: 20843 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type:Website problem +Bug Type:Documentation problem PHP Version: 4.2.3 New Comment: Agreed, this violates accessability standards. Reclassified as a documentation problem as change needs to be made in the phpweb build process. Previous Comments: [2002-12-05 16:55:18] [EMAIL PROTECTED] On documentation pages such as http://www.php.net/manual/en/funcref.php in the left column the sections are listed and have a graphical bullet point in front of them. These graphical bullet points have the section name as the alt text. When browsing without images all this does is make each section title appear twice (once as the image alt text and once as the actual text that follows it) and it looks very wierd. A better alt text would be the middot entity or nothing at all. For reference I noticed this when trying to access the page in small screen rendering mode as provided in Opera 7 for Windows beta which mimics how pages look on the version of Opera for small screen devices (ie mobile phones) they make. -- Edit this bug report at http://bugs.php.net/?id=20843edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /entities global.ent
damsFri Dec 6 23:24:00 2002 EDT Modified files: /phpdoc/entitiesglobal.ent Log: adding two entities : unicode report and jacobi symbol Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.63 phpdoc/entities/global.ent:1.64 --- phpdoc/entities/global.ent:1.63 Mon Dec 2 07:51:41 2002 +++ phpdoc/entities/global.ent Fri Dec 6 23:24:00 2002 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.63 2002/12/02 12:51:41 betz Exp $ + $Id: global.ent,v 1.64 2002/12/07 04:24:00 dams Exp $ Contains global macros for all the XML documents. @@ -86,6 +86,7 @@ !ENTITY url.iptc http://www.iptc.org/; !ENTITY url.ircg http://www.schumann.cx/ircg/; !ENTITY url.ircg-install http://lxr.php.net/source/php4/ext/ircg/README.txt; +!ENTITY url.jacobi http://www.utm.edu/research/primes/glossary/JacobiSymbol.html; !ENTITY url.jade http://www.jclark.com/jade/; !ENTITY url.jclark http://www.jclark.com/bio.htm; !ENTITY url.jpeg ftp://ftp.uu.net/graphics/jpeg/; @@ -209,6 +210,7 @@ !ENTITY url.thttpd http://www.acme.com/software/thttpd/; !ENTITY url.ucd-snmp http://net-snmp.sourceforge.net/; !ENTITY url.unicode http://www.unicode.org/; +!ENTITY url.unicode.reports http://www.unicode.org/unicode/reports/tr21/; !ENTITY url.vb4linux http://sourceforge.net/projects/vb4linux/; !ENTITY url.velocis http://www.birdstep.com/database_technology/rdm_server.php3; !ENTITY url.win32install http://www.umesd.k12.or.us/php/win32install.html; -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php