[PHP-DOC] cvs: phpdoc /en/appendices/configure servers.xml
nlopess Sun Nov 6 06:11:13 2005 EDT Modified files: /phpdoc/en/appendices/configure servers.xml Log: fix #35120: broken link http://cvs.php.net/diff.php/phpdoc/en/appendices/configure/servers.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/appendices/configure/servers.xml diff -u phpdoc/en/appendices/configure/servers.xml:1.3 phpdoc/en/appendices/configure/servers.xml:1.4 --- phpdoc/en/appendices/configure/servers.xml:1.3 Tue Aug 10 12:30:14 2004 +++ phpdoc/en/appendices/configure/servers.xml Sun Nov 6 06:11:13 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- sect3 id=configure.options.servers titleSAPI options/title para @@ -288,7 +288,7 @@ If this is disabled, paths such as filename/info.php/test?a=b/filename will fail to work. Available since PHP 4.3.0. For more information see the - ulink url=url.apache.core;acceptpathinfoApache Manual/ulink. + ulink url=url.apache.core;#acceptpathinfoApache Manual/ulink. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/pcre pattern.syntax.xml
nlopess Sun Nov 6 06:16:21 2005 EDT Modified files: /phpdoc/en/reference/pcre pattern.syntax.xml Log: fix #35035: typo in an example http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/pattern.syntax.xml?r1=1.11r2=1.12ty=u Index: phpdoc/en/reference/pcre/pattern.syntax.xml diff -u phpdoc/en/reference/pcre/pattern.syntax.xml:1.11 phpdoc/en/reference/pcre/pattern.syntax.xml:1.12 --- phpdoc/en/reference/pcre/pattern.syntax.xml:1.11Tue Sep 20 07:42:58 2005 +++ phpdoc/en/reference/pcre/pattern.syntax.xml Sun Nov 6 06:16:18 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -- refentry id=reference.pcre.pattern.syntax refnamediv @@ -1188,7 +1188,7 @@ to the string - literal/* first command */ not comment /* second comment *//literal + literal/* first comment */ not comment /* second comment *//literal fails, because it matches the entire string due to the greediness of the .* item.
[PHP-DOC] #35035 [Opn-Csd]: Typo in PCRE manual page
ID: 35035 Updated by: [EMAIL PROTECTED] Reported By: mark at phedny dot net -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: [2005-10-31 14:17:48] mark at phedny dot net Description: There is a typo on this page: http://www.php.net/manual/en/reference.pcre.pattern.syntax.php It sais: /* first command */ not comment /* second comment */ Where first command should be first comment -- Edit this bug report at http://bugs.php.net/?id=35035edit=1
[PHP-DOC] #34971 [Opn-Csd]: pt_BR Doc: curl_setopt
ID: 34971 Updated by: [EMAIL PROTECTED] Reported By: rodrigomachado86 at yahoo dot com dot br -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: [2005-10-24 20:16:05] rodrigomachado86 at yahoo dot com dot br Description: A documentation problem with the manual for the function curl_setopt (in CURLOPT_CUSTOMREQUEST): certesa is wrong, the right is certeza -- Edit this bug report at http://bugs.php.net/?id=34971edit=1
[PHP-DOC] #34649 [Opn-Asn]: manual/fr/features.safe-mode.php
ID: 34649 Updated by: [EMAIL PROTECTED] Reported By: ypublic at hasa dot ch -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: jsgoupil Previous Comments: [2005-09-26 20:49:41] ypublic at hasa dot ch Description: open_basedir ... Cela est cependant peu dangereux car le dossier courant du script peut facilement être modifié avec la fonction chdir(). Expected result: un peu (référence d'après la doc en anglais) -- Edit this bug report at http://bugs.php.net/?id=34649edit=1
[PHP-DOC] cvs: phpdoc /en/features http-auth.xml
nlopess Sun Nov 6 06:57:48 2005 EDT Modified files: /phpdoc/en/features http-auth.xml Log: improve the http auth script by making a smarter parsing function. I hope this makes the page smaller http://cvs.php.net/diff.php/phpdoc/en/features/http-auth.xml?r1=1.43r2=1.44ty=u Index: phpdoc/en/features/http-auth.xml diff -u phpdoc/en/features/http-auth.xml:1.43 phpdoc/en/features/http-auth.xml:1.44 --- phpdoc/en/features/http-auth.xml:1.43 Sat Aug 27 19:48:12 2005 +++ phpdoc/en/features/http-auth.xmlSun Nov 6 06:57:46 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.43 $ -- +!-- $Revision: 1.44 $ -- chapter id=features.http-auth titleHTTP authentication with PHP/title @@ -73,7 +73,7 @@ $users = array('admin' = 'mypass', 'guest' = 'guest'); -if (!isset($_SERVER['PHP_AUTH_DIGEST'])) { +if (empty($_SERVER['PHP_AUTH_DIGEST'])) { header('HTTP/1.1 401 Unauthorized'); header('WWW-Authenticate: Digest realm='.$realm. ' qop=auth nonce='.uniqid().' opaque='.md5($realm).''); @@ -81,24 +81,41 @@ die('Text to send if user hits Cancel button'); } -// analyze the PHP_AUTH_DIGEST variable -preg_match('/username=(?Pusername.*),\s*realm=(?Prealm.*),\s*nonce=(?Pnonce.*),\s*uri=(?Puri.*),\s*response=(?Presponse.*),\s*opaque=(?Popaque.*),\s*qop=(?Pqop.*),\s*nc=(?Pnc.*),\s*cnonce=(?Pcnonce.*)/', $_SERVER['PHP_AUTH_DIGEST'], $digest); -if (!isset($users[$digest['username']])) -die('Username not valid!'); +// analyze the PHP_AUTH_DIGEST variable +if (!($data = http_digest_parse($_SERVER['PHP_AUTH_DIGEST'])) || +!isset($users[$data['username']])) +die('Wrong Credentials!'); // generate the valid response -$A1 = md5($digest['username'] . ':' . $realm . ':' . $users[$digest['username']]); -$A2 = md5($_SERVER['REQUEST_METHOD'].':'.$digest['uri']); -$valid_response = md5($A1.':'.$digest['nonce'].':'.$digest['nc'].':'.$digest['cnonce'].':'.$digest['qop'].':'.$A2); +$A1 = md5($data['username'] . ':' . $realm . ':' . $users[$data['username']]); +$A2 = md5($_SERVER['REQUEST_METHOD'].':'.$data['uri']); +$valid_response = md5($A1.':'.$data['nonce'].':'.$data['nc'].':'.$data['cnonce'].':'.$data['qop'].':'.$A2); -if ($digest['response'] != $valid_response) +if ($data['response'] != $valid_response) die('Wrong Credentials!'); // ok, valid username password -echo 'Your are logged in as: ' . $digest['username']; +echo 'Your are logged in as: ' . $data['username']; + +// function to parse the http auth header +function http_digest_parse($txt) +{ +// protect against missing data +$needed_parts = array('nonce'=1, 'nc'=1, 'cnonce'=1, 'qop'=1, 'username'=1, 'uri'=1, 'response'=1); +$data = array(); + +preg_match_all('@(\w+)=([\']?)([a-zA-Z0-9=./\_-]+)\2@', $txt, $matches, PREG_SET_ORDER); + +foreach ($matches as $m) { +$data[$m[1]] = $m[3]; +unset($needed_parts[$m[1]]); +} + +return $needed_parts ? false : $data; +} ? ]] /programlisting
[PHP-DOC] Notes Status, 13299 total
Following are the top 20 pages of the manual, sorted by the number of user notes contributed. These sections could use a polish, those notes represent 8.9% of the 13299 total user notes. Notes | Page ---+- 82 | http://php.net/manual/en/function.header.php 77 | http://php.net/manual/en/function.date.php 70 | http://php.net/manual/en/function.preg-replace.php 65 | http://php.net/manual/en/ref.xml.php 63 | http://php.net/manual/en/ref.image.php 62 | http://php.net/manual/en/reserved.variables.php 59 | http://php.net/manual/en/function.mktime.php 58 | http://php.net/manual/en/function.fopen.php 57 | http://php.net/manual/en/function.mssql-connect.php 57 | http://php.net/manual/en/function.eval.php 56 | http://php.net/manual/en/ref.com.php 55 | http://php.net/manual/en/function.fsockopen.php 54 | http://php.net/manual/en/features.file-upload.php 54 | http://php.net/manual/en/function.readdir.php 53 | http://php.net/manual/en/ref.session.php 52 | http://php.net/manual/en/function.explode.php 52 | http://php.net/manual/en/function.str-replace.php 51 | http://php.net/manual/en/function.exec.php 51 | http://php.net/manual/en/ref.datetime.php 49 | http://php.net/manual/en/function.strtotime.php
[PHP-DOC] #35124 [NEW]: Wrong constant name in Mysqli Doc
From: phoeniks at nm dot ru Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Wrong constant name in Mysqli Doc Description: http://www.php.net/manual/en/function.mysqli-options.php has a problem in constants name MYSQLI_INIT_CMD whitch is really MYSQLI_INIT_COMMAND -- Edit bug report at http://bugs.php.net/?id=35124edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35124r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35124r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35124r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35124r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35124r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35124r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35124r=needscript Try newer version: http://bugs.php.net/fix.php?id=35124r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35124r=support Expected behavior: http://bugs.php.net/fix.php?id=35124r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35124r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35124r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35124r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35124r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35124r=dst IIS Stability: http://bugs.php.net/fix.php?id=35124r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35124r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35124r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35124r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35124r=mysqlcfg
Re: [PHP-DOC] cvs: phpdoc /en/language basic-syntax.xml
Rasmus Lerdorf wrote: -The one-line comment styles only comment to the end of +The one-line comment styles only comments to the end of I don't want to step on your toes, but what do you mean here? There are two one-line comment styles (as you know); that's why comment was used. What we have now is grammaticaly incorrect (and I think it was correct before your change). S
[PHP-DOC] #34649 [Asn-Csd]: manual/fr/features.safe-mode.php
ID: 34649 Updated by: [EMAIL PROTECTED] Reported By: ypublic at hasa dot ch -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant Assigned To: jsgoupil 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. La prochaine fois, n'oublie pas de fournir un lien pour retrouver plus facilement. http://ca.php.net/manual/fr/features.safe-mode.php Merci Previous Comments: [2005-09-26 20:49:41] ypublic at hasa dot ch Description: open_basedir ... Cela est cependant peu dangereux car le dossier courant du script peut facilement être modifié avec la fonction chdir(). Expected result: un peu (référence d'après la doc en anglais) -- Edit this bug report at http://bugs.php.net/?id=34649edit=1
[PHP-DOC] #35129 [NEW]: word 'Bschreibung' has to be 'Beschreibung'
From: chabayo at yahoo dot de Operating system: GNU / Debian Linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: word 'Bschreibung' has to be 'Beschreibung' Description: I tried to put German php-Reference in a mysql-Database. (src http://de2.php.net/get/php_manual_de.tar.gz/from/this/mirror) - The word 'Bschreibung' has to be 'Beschreibung' - beside it is written 'Beschreibung' on the other German pages of that tarball NOT 'Bschreibung:'- sry if it doesn't matter to you, just wanted to help. - affected files { function.dbase-delete-record.html function.get-extension-funcs.html function.getmyinode.html function.include.html function.include-once.html function.is-finite.html function.require.html function.require-once.html function.return.html } -- Edit bug report at http://bugs.php.net/?id=35129edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35129r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35129r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35129r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35129r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35129r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35129r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35129r=needscript Try newer version: http://bugs.php.net/fix.php?id=35129r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35129r=support Expected behavior: http://bugs.php.net/fix.php?id=35129r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35129r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35129r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35129r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35129r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35129r=dst IIS Stability: http://bugs.php.net/fix.php?id=35129r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35129r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35129r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35129r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35129r=mysqlcfg
[PHP-DOC] #35129 [Opn-Csd]: word 'Bschreibung' has to be 'Beschreibung'
ID: 35129 Updated by: [EMAIL PROTECTED] Reported By: chabayo at yahoo dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: GNU / Debian Linux PHP Version: Irrelevant Assigned To: simp 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. include, include_once, require, require_once and return are control structures, not functions. Corrected typos on the other pages. Thanks. Previous Comments: [2005-11-06 18:34:45] chabayo at yahoo dot de Description: I tried to put German php-Reference in a mysql-Database. (src http://de2.php.net/get/php_manual_de.tar.gz/from/this/mirror) - The word 'Bschreibung' has to be 'Beschreibung' - beside it is written 'Beschreibung' on the other German pages of that tarball NOT 'Bschreibung:'- sry if it doesn't matter to you, just wanted to help. - affected files { function.dbase-delete-record.html function.get-extension-funcs.html function.getmyinode.html function.include.html function.include-once.html function.is-finite.html function.require.html function.require-once.html function.return.html } -- Edit this bug report at http://bugs.php.net/?id=35129edit=1
[PHP-DOC] cvs: phpdoc /en/language basic-syntax.xml
rasmus Sun Nov 6 13:00:36 2005 EDT Modified files: /phpdoc/en/language basic-syntax.xml Log: Make it explicit that this applies to both // and # http://cvs.php.net/diff.php/phpdoc/en/language/basic-syntax.xml?r1=1.48r2=1.49ty=u Index: phpdoc/en/language/basic-syntax.xml diff -u phpdoc/en/language/basic-syntax.xml:1.48 phpdoc/en/language/basic-syntax.xml:1.49 --- phpdoc/en/language/basic-syntax.xml:1.48Sat Nov 5 03:08:34 2005 +++ phpdoc/en/language/basic-syntax.xml Sun Nov 6 13:00:32 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.48 $ -- +!-- $Revision: 1.49 $ -- chapter id=language.basic-syntax titleBasic syntax/title sect1 id=language.basic-syntax.phpmode @@ -176,20 +176,22 @@ /* This is a multi line comment yet another line of comment */ echo 'This is yet another test'; -echo 'One Final Test'; # This is a shell-style comment +echo 'One Final Test'; # This is a one-line shell-style comment ? ]] /programlisting /informalexample /para simpara -The one-line comment styles only comments to the end of +The one-line comment styles only comment to the end of the line or the current block of PHP code, whichever comes first. -This means that HTML code after literal// ?gt;/literal WILL be printed: +This means that HTML code after literal// ... ?gt;/literal +or literal# ... ?gt;/literal WILL be printed: ?gt; breaks out of PHP mode and returns to HTML mode, and -literal///literal cannot influence that. +literal///literal or literal#/literal cannot influence that. If the link linkend=ini.asp-tagsasp_tags/link configuration directive -is enabled, it behaves the same with literal// %gt;/literal. +is enabled, it behaves the same with literal// %gt;/literal and +literal# %gt;/literal. However, the literallt;/scriptgt;/literal tag doesn't break out of PHP mode in a one-line comment. /simpara @@ -198,7 +200,7 @@ programlisting role=php ![CDATA[ h1This is an ?php # echo 'simple';? example./h1 -pThe header above will say 'This is an example'./p +pThe header above will say 'This is an example'./p ]] /programlisting /informalexample
[PHP-DOC] #35132 [NEW]: Incorrect code in Example 1 on php.net/dl
From: false dot hopes at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Incorrect code in Example 1 on php.net/dl Description: On line 5 of Example 1 on php.net/dl, the following: if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { should be: if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { So that == 'WIN' is checked against the strtoupper()'d string. -- Edit bug report at http://bugs.php.net/?id=35132edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35132r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35132r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35132r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35132r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35132r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35132r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35132r=needscript Try newer version: http://bugs.php.net/fix.php?id=35132r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35132r=support Expected behavior: http://bugs.php.net/fix.php?id=35132r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35132r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35132r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35132r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35132r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35132r=dst IIS Stability: http://bugs.php.net/fix.php?id=35132r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35132r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35132r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35132r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35132r=mysqlcfg
[PHP-DOC] #35132 [Opn-Csd]: Incorrect code in Example 1 on php.net/dl
ID: 35132 Updated by: [EMAIL PROTECTED] Reported By: false dot hopes at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant 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: [2005-11-07 00:39:14] false dot hopes at gmail dot com Description: On line 5 of Example 1 on php.net/dl, the following: if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { should be: if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { So that == 'WIN' is checked against the strtoupper()'d string. -- Edit this bug report at http://bugs.php.net/?id=35132edit=1
[PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-options.xml
vrana Sun Nov 6 19:30:41 2005 EDT Modified files: /phpdoc/en/reference/mysqli/functions mysqli-options.xml Log: MYSQLI_INIT_COMMAND (bug #35124) http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-options.xml?r1=1.9r2=1.10ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-options.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-options.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-options.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-options.xml:1.9 Tue Apr 26 10:33:30 2005 +++ phpdoc/en/reference/mysqli/functions/mysqli-options.xml Sun Nov 6 19:30:38 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry id=function.mysqli-options refnamediv refnamemysqli_options/refname @@ -58,7 +58,7 @@ entryenable/disable use of literalLOAD LOCAL INFILE/literal/entry /row row - entryconstantMYSQLI_INIT_CMD/constant/entry + entryconstantMYSQLI_INIT_COMMAND/constant/entry entrycommand to execute after when connecting to MySQL server/entry /row row
[PHP-DOC] #35124 [Opn-Csd]: Wrong constant name in Mysqli Doc
ID: 35124 Updated by: [EMAIL PROTECTED] Reported By: phoeniks at nm dot ru -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: [2005-11-06 14:39:57] phoeniks at nm dot ru Description: http://www.php.net/manual/en/function.mysqli-options.php has a problem in constants name MYSQLI_INIT_CMD whitch is really MYSQLI_INIT_COMMAND -- Edit this bug report at http://bugs.php.net/?id=35124edit=1
[PHP-DOC] #35122 [Opn]: There is a summary of the 'extension' directive but its not in the table above
ID: 35122 Updated by: [EMAIL PROTECTED] Reported By: jmarbas at hotmail dot com Status: Open Bug Type: Documentation problem Operating System: n/a PHP Version: Irrelevant -Assigned To: +Assigned To: nlopess New Comment: scripts/iniupdate/ should be adjusted to fix this. Previous Comments: [2005-11-06 03:59:00] jmarbas at hotmail dot com Description: On this page 'http://us3.php.net/manual/en/ini.core.php#ini.extension' you have the following description of the 'extension' directive below: extension string Which dynamically loadable extensions to load when PHP starts up. But the word 'extension' isnt listed in the table of directives above... in the 'Table G-7. Paths and Directories Configuration Options' above the description -- Edit this bug report at http://bugs.php.net/?id=35122edit=1
[PHP-DOC] cvs: phpdoc /en/reference/info/functions dl.xml
aidan Sun Nov 6 19:41:12 2005 EDT Modified files: /phpdoc/en/reference/info/functions dl.xml Log: Fix bug #35132 http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/dl.xml?r1=1.20r2=1.21ty=u Index: phpdoc/en/reference/info/functions/dl.xml diff -u phpdoc/en/reference/info/functions/dl.xml:1.20 phpdoc/en/reference/info/functions/dl.xml:1.21 --- phpdoc/en/reference/info/functions/dl.xml:1.20 Tue Feb 15 13:29:20 2005 +++ phpdoc/en/reference/info/functions/dl.xml Sun Nov 6 19:41:11 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.20 $ -- +!-- $Revision: 1.21 $ -- !-- splitted from ./en/functions/info.xml, last change in rev 1.29 -- refentry id=function.dl refnamediv @@ -49,7 +49,7 @@ ?php // Example loading an extension based on OS if (!extension_loaded('sqlite')) { -if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { +if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { dl('php_sqlite.dll'); } else { dl('sqlite.so'); @@ -58,7 +58,7 @@ // Or, the PHP_SHLIB_SUFFIX constant is available as of PHP 4.3.0 if (!extension_loaded('sqlite')) { -$prefix = (PHP_SHLIB_SUFFIX == 'dll') ? 'php_' : ''; +$prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : ''; dl($prefix . 'sqlite.' . PHP_SHLIB_SUFFIX); } ?