RE: [PHP-DOC] Re: Application
It would be nice if you would stop sending virii to the list! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:20 PM To: [EMAIL PROTECTED] Subject: [PHP-DOC] Re: Application Please see the attached zip file for details. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #17122 [Com]: Values set in _SESSION doesn't stick
ID: 17122 Comment by: kjf at mac dot com Reported By: mats at cdmedia dot nu Status: Closed Bug Type: Documentation problem Operating System: Linux RH 7.2 PHP Version: 4.2.0 New Comment: numeric keys may not be supported, but lets say you do: $_SESSION[4]='something'; $_SESSION['four']='something'; you will lose both session keys in the next load. in other words, any session key/value pair created in the script after the numeric key are lost, but the ones before are kept. Previous Comments: [2002-10-03 22:13:57] [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. Added comment on the limitations for variable names in the documentation. [2002-09-30 09:23:41] research at information4u dot com I've been having a similar problem for over a week. Tried everything I could think of. Script looked like this: variable={$HTTP_SESSION_VARS['AVAR']}"; ?> Seemed everyone else could get it to work except for a friend and I. I'm using IE 6.0.28, he's using Netscape 4.04. I was able to correct the problem by doing the following while running IE6.0.28: a) Select Tools/Internet Options b) Select Privacy Tab c) Click on Advanced button d) Check Override Automatic Cookie Handling e) Check Always allow session cookies After doing this - everything worked fine - even the test scripts above (except for the variable 4). I then went back and unchecked the Override Automatic Cookie Handling - assuming that this would return me back to a state where AVAR would not increment. Much to my chagrin, it continued to work. This leads me to believe that there's a registry setting somewhere that controls this behavior. Now, to find out what it is and how to check for it on a user's machine from within PHP. [2002-07-08 09:35:24] scott at abcoa dot com This test case I posted is with register_global turned off. Well, the documentation should stated that the number can not be used as the first character. I wonder how can anyone tell the difference on $_SESSION from an array? It look a lot like an array in some way. [2002-07-05 15:50:47] [EMAIL PROTECTED] As session variables are subject to be registered as global variables (if register_globals is on), and identifier names (including variable names) cannot begin with a numeric character, it's not too hard to see that session variables should not begin with a number. Basically session variables should follow naming ruiles for identifiers IMHO. [2002-07-05 15:46:23] scott at abcoa dot com Whoop! One more thing! $_SESSION[CUSTOMER_ID] does work on page 1 also! Didn't include that as Example #3 on page 1. 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/17122 -- Edit this bug report at http://bugs.php.net/?id=17122&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] perl version
Great help file, I'm sure it's been a major reason for the success of PHP. So thanks. I'm wondering if there is a similar project for Perl? If you could point me in the general direction I'd appreciate it. I don't know of any perl version. Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] perl version
Great help file, I'm sure it's been a major reason for the success of PHP. So thanks. I'm wondering if there is a similar project for Perl? If you could point me in the general direction I'd appreciate it. Gerard -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/nis/functions yp-err-string.xml
> didou Wed Jun 25 07:27:04 2003 EDT > > Modified files: >/phpdoc/en/reference/nis/functions yp-err-string.xml > Log: > closing 2432 it's 24321 =D -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #24321 [Opn->Csd]: Documentation mistake for yp_err_string()
ID: 24321 Updated by: [EMAIL PROTECTED] Reported By: niklas at zim dot goe dot net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: SuSE 8.2 (Linux 2.4.20, gcc 3.3) PHP Version: 4.3.1 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: [2003-06-24 14:16:16] niklas at zim dot goe dot net Description: The doc for yp_err_string() says: yp_err_string -- Returns the error string associated with the previous operation Description string yp_err_string ( void) which is obviously wrong, as the code below shows. I think it is meant to be something like yp_err_string -- Returns the error string associated with the given error code Description string yp_err_string (int errorCode) because yp_err_string(yp_errno()) just works fine. Best regards Niklas Reproduce code: --- $yp = @yp_match("nomap", "norDomain"); if (!$yp) { echo "Error: " . yp_err_string(); } Expected result: printout: Error: Can't bind to server which serves this domain Actual result: -- printout: Warning: Wrong parameter count for yp_err_string() -- Edit this bug report at http://bugs.php.net/?id=24321&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/nis/functions yp-err-string.xml
didou Wed Jun 25 07:27:04 2003 EDT Modified files: /phpdoc/en/reference/nis/functions yp-err-string.xml Log: closing 2432 Index: phpdoc/en/reference/nis/functions/yp-err-string.xml diff -u phpdoc/en/reference/nis/functions/yp-err-string.xml:1.2 phpdoc/en/reference/nis/functions/yp-err-string.xml:1.3 --- phpdoc/en/reference/nis/functions/yp-err-string.xml:1.2 Wed Apr 17 02:42:12 2002 +++ phpdoc/en/reference/nis/functions/yp-err-string.xml Wed Jun 25 07:27:03 2003 @@ -1,22 +1,22 @@ - + yp_err_string -Returns the error string associated with the previous operation +Returns the error string associated with the given error code Description stringyp_err_string - + interrorcode yp_err_string returns the error message - associated with the previous operation. Useful to indicate what + associated with the given error code. Useful to indicate what exactly went wrong. @@ -25,7 +25,7 @@ -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/features safe-mode.xml
On Wed, 25 Jun 2003, Friedhelm Betz wrote: > On Wednesday 25 June 2003 11:08, Derick Rethans wrote: > > derick Wed Jun 25 05:08:50 2003 EDT > > > > Modified files: > > /phpdoc/en/features safe-mode.xml > > Log: > > - Fixed XML > > #- Make test anybody? :) > > yeah, sorry and thanks; hehe, another good thing.. livedocs throws there errors immediately... but still, it also breaks it for an hour so we need to be REALLY careful with it. regards, Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/features safe-mode.xml
derick Wed Jun 25 05:08:50 2003 EDT Modified files: /phpdoc/en/features safe-mode.xml Log: - Fixed XML #- Make test anybody? :) Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.41 phpdoc/en/features/safe-mode.xml:1.42 --- phpdoc/en/features/safe-mode.xml:1.41 Wed Jun 25 04:31:46 2003 +++ phpdoc/en/features/safe-mode.xmlWed Jun 25 05:08:50 2003 @@ -1,5 +1,5 @@ - + Safe Mode @@ -199,7 +199,7 @@ When a script tries to open a file with, for example, -fopen or gzopen, +fopen or gzopen, the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/chapters install.commandline.xml
betzWed Jun 25 04:33:10 2003 EDT Modified files: /phpdoc/en/chapters install.commandline.xml Log: correcting links to point to security.index Index: phpdoc/en/chapters/install.commandline.xml diff -u phpdoc/en/chapters/install.commandline.xml:1.5 phpdoc/en/chapters/install.commandline.xml:1.6 --- phpdoc/en/chapters/install.commandline.xml:1.5 Tue Feb 4 08:27:38 2003 +++ phpdoc/en/chapters/install.commandline.xml Wed Jun 25 04:33:10 2003 @@ -1,5 +1,5 @@ - + Servers-CGI/Commandline @@ -10,7 +10,7 @@ that solution for performance reasons. However, the CGI version enables Apache users to run different PHP-enabled pages under different user-ids. Please make sure you read through the Security chapter if you are going to +linkend="security.index">Security chapter if you are going to run PHP as a CGI. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/features safe-mode.xml
betzWed Jun 25 04:31:46 2003 EDT Modified files: /phpdoc/en/features safe-mode.xml Log: correcting links to point to security.index some tagging, typos and linking Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.40 phpdoc/en/features/safe-mode.xml:1.41 --- phpdoc/en/features/safe-mode.xml:1.40 Wed Jun 18 09:38:07 2003 +++ phpdoc/en/features/safe-mode.xmlWed Jun 25 04:31:46 2003 @@ -1,5 +1,5 @@ - + Safe Mode @@ -89,7 +89,7 @@ Whether to enable PHP's safe mode. Read the -Security and chapter for more +Security chapter for more information. @@ -198,11 +198,12 @@ turned On or Off. -When a script tries to open a file with, -for example, fopen or gzopen, the location of the file is -checked. When the file is outside the specified directory-tree, -PHP will refuse to open it. All symbolic links are resolved, -so it's not possible to avoid this restriction with a symlink. +When a script tries to open a file with, for example, +fopen or gzopen, +the location of the file is checked. When the file is outside the +specified directory-tree, PHP will refuse to open it. All symbolic +links are resolved, so it's not possible to avoid this restriction +with a symlink. The special value . @@ -241,7 +242,7 @@ This directive allows you to disable certain functions for -security reasons. It takes +security reasons. It takes on a comma-dilimited list of function names. disable_functions is not affected by Safe Mode. @@ -259,7 +260,7 @@ This directive allows you to disable certain classes for -security reasons. It takes +security reasons. It takes on a comma-dilimited list of class names. disable_classes is not affected by Safe Mode. @@ -269,9 +270,9 @@ Availability note - -This directive became available in PHP 4.3.2 - + + This directive became available in PHP 4.3.2 + @@ -341,7 +342,8 @@ - You can also disable individual functions. Note that the disable_functions + You can also disable individual functions. Note that the + disable_functions directive can not be used outside of the &php.ini; file which means that you cannot disable functions on a per-virtualhost or per-directory basis in your &httpd.conf; file. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php