[PHP-DOC] cvs: phpdoc /en/appendices tokens.xml

2002-08-14 Thread Damien Seguy

damsWed Aug 14 19:10:57 2002 EDT

  Modified files:  
/phpdoc/en/appendices   tokens.xml 
  Log:
  correcting typos
  
  
Index: phpdoc/en/appendices/tokens.xml
diff -u phpdoc/en/appendices/tokens.xml:1.5 phpdoc/en/appendices/tokens.xml:1.6
--- phpdoc/en/appendices/tokens.xml:1.5 Thu Jun 13 10:41:04 2002
+++ phpdoc/en/appendices/tokens.xml Wed Aug 14 19:10:56 2002
@@ -1,15 +1,15 @@
 
-
+
 
 
  List of Parser Tokens
  
-  Various parts of the PHP language are represented internally by stuff like
-  T_SR. PHP outputs identifiers like this one in parse errors, like "Parse
-  error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."
+  Various parts of the PHP language are represented internally by types like
+  T_SR. PHP outputs identifiers like this one in parse errors, like 
+  "Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 
+10."
  
  
-  You're supposed to know that T_SR means >>. For everybody who doesn't 
+  You're supposed to know that T_SR means. For everybody who doesn't 
   know that, here is a table with those identifiers, PHP-syntax and 
   references to the appropriate places in the manual.
  
@@ -471,7 +471,7 @@
 
  T_RETURN
  return
- returing values
+ returning values
 
 
  T_SL



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/session reference.xml

2002-08-14 Thread Yasuo Ohgaki

yohgaki Wed Aug 14 18:25:22 2002 EDT

  Modified files:  
/phpdoc/en/reference/sessionreference.xml 
  Log:
  Added security description. Patch by <[EMAIL PROTECTED]>
  Fixed trans-sid php.ini option description.
  
  
Index: phpdoc/en/reference/session/reference.xml
diff -u phpdoc/en/reference/session/reference.xml:1.8 
phpdoc/en/reference/session/reference.xml:1.9
--- phpdoc/en/reference/session/reference.xml:1.8   Sun Jul 28 10:04:32 2002
+++ phpdoc/en/reference/session/reference.xml   Wed Aug 14 18:25:22 2002
@@ -1,5 +1,5 @@
 
-
+
  
   Session handling functions
   Sessions
@@ -46,6 +46,41 @@
 


+   
+Sessions and security
+
+ Using sessions, does not mean, you can be absolutely sure, that
+ the session data can only be viewed by that user. This is impor-
+ tant to keep in mind, when storing and displaying sensative
+ information. When storing data into a session, one should always
+ ask themselves, what the damage is, when somebody else views that
+ information, or how your application is affected when this session
+ is actually somebody else.
+
+
+ For instance, if somebody else takes a session, can he than post
+ a message in a forum, as that user and how big of a problem is that?
+ Or perhaps he can view what the original user was thinking of
+ ordering, because he gets access to that user's shopping cart.
+ Obviously for a flowershop, this is less dramatic, than for a
+ farmacy.
+
+
+ Therefore, when dealing with sensative information, there should
+ always be additional methods to decide whether it is a valid
+ session. Sessions are not reliable as a secure
+ authentication mechanism.
+
+
+ Sessions rely on the session ID, meaning one can 'steal' a session,
+ by stealing the session ID. This can be made harder, by using a cookie
+ specifically a session cookie, but does not in any way make it
+ impossible and still relies on the user closing all
+ browser windows, to expire the session cookie.
+ Besides that, even session cookies can be sniffed on a network or
+ logged by a proxyserver.
+
+   

 &reftitle.required;
 &no.requirement;
@@ -214,11 +249,22 @@
   

 session.use_trans_sid whether transparent sid support
-is enabled or not if enabled by compiling with 
-
---enable-trans-sid.
-Defaults to 1 (enabled).
+is enabled or not. Defaults to 0 (disabled).

+   
+
+ For PHP 4.1.2 or less, it is enabled by compiling with 
+ 
+  --enable-trans-sid.
+ From PHP 4.2.0, trans-sid feature is always compiled.
+
+
+ URL based session management has addtional security risks compare to cookie 
+based
+ session management. Users may send URL contains active session ID to their
+ friends by email or users may save URL contains session ID to their bookmark
+ and access your site with the same session ID always, for example. 
+
+   
   
   




-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #15944 [Asn->Csd]: imap_sort Error

2002-08-14 Thread kalowsky

 ID:   15944
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Assigned
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Windows XP
 PHP Version:  4.1.1
 Assigned To:  sander
 New Comment:

So the bug is closed, yes?  While there may be other functions out
there that need documentation added, leaving this open isn't going to
help.


Previous Comments:


[2002-08-14 06:49:30] [EMAIL PROTECTED]

But this function (imap_sort) works perfectly under win2K. why?? if
anyone knows how to do it work with XP, tell me at [EMAIL PROTECTED]
I´m sorry, I´m Spanish and my English is too bad, ¡I think!



[2002-03-12 08:21:26] [EMAIL PROTECTED]

Fixed that sentence, but the rest of the functions might need notes
about the availability on POP/NNTP servers.



[2002-03-08 03:26:36] [EMAIL PROTECTED]

This is documentation problem. When you use pop3
it doesn't have all the capabilities as imap has.
Search & sorting are one of the missing ones, AFAIK.

On this page: 
http://www.php.net/manual/en/function.imap-open.php

Is a faulty line which confuses (at least me :)

"This function can also be used to open streams to POP3 and NNTP
servers, but some functions and features are not available on IMAP
servers. "

It should be saying "..features are only available on IMAP.."

--Jani




[2002-03-07 21:09:38] [EMAIL PROTECTED]



// if u run it on Windows. U will see the error message "ERROR PHP.EXE"
and "Gate ERROR"!!

/*
My System 
Windows XP, IIS 5.1, Expoler 6.0, PHP 4.1.1
*/




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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #18865 [Dup->Bgs]: English .chm manual download file is corrupt

2002-08-14 Thread sniper

 ID:  18865
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Duplicate
+Status:  Bogus
 Bug Type:Documentation problem
 PHP Version: 4.2.2
 New Comment:

No need for having duplicate report if there already is one with
exactly same content.



Previous Comments:


[2002-08-14 06:07:18] [EMAIL PROTECTED]

Marking as dupe..



[2002-08-12 06:23:03] [EMAIL PROTECTED]

We have an open bug with the same content.



[2002-08-12 05:23:25] [EMAIL PROTECTED]

English .chm manual download file is corrupt - only getting 314 bytes
in total.




-- 
Edit this bug report at http://bugs.php.net/?id=18865&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/filesystem/functions is-dir.xml

2002-08-14 Thread Gabor Hojtsy

gobaWed Aug 14 17:29:01 2002 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   is-dir.xml 
  Log:
  OK, so dir is a class...
  
  
Index: phpdoc/en/reference/filesystem/functions/is-dir.xml
diff -u phpdoc/en/reference/filesystem/functions/is-dir.xml:1.4 
phpdoc/en/reference/filesystem/functions/is-dir.xml:1.5
--- phpdoc/en/reference/filesystem/functions/is-dir.xml:1.4 Wed Aug 14 17:27:41 
2002
+++ phpdoc/en/reference/filesystem/functions/is-dir.xml Wed Aug 14 17:29:01 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -27,7 +27,7 @@
  be examined must be accessible via the server's filesystem.
 
 
- See also chdir, dir,
+ See also chdir, dir,
  opendir, is_file and
  is_link.
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions is-dir.xml

2002-08-14 Thread Gabor Hojtsy

gobaWed Aug 14 17:27:42 2002 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   is-dir.xml 
  Log:
  Adding more to see also list
  
  
Index: phpdoc/en/reference/filesystem/functions/is-dir.xml
diff -u phpdoc/en/reference/filesystem/functions/is-dir.xml:1.3 
phpdoc/en/reference/filesystem/functions/is-dir.xml:1.4
--- phpdoc/en/reference/filesystem/functions/is-dir.xml:1.3 Thu Apr 18 17:36:40 
2002
+++ phpdoc/en/reference/filesystem/functions/is-dir.xml Wed Aug 14 17:27:41 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -27,7 +27,8 @@
  be examined must be accessible via the server's filesystem.
 
 
- See also chdir, is_file and
+ See also chdir, dir,
+ opendir, is_file and
  is_link.
 




-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/chapters install.configure.xml

2002-08-14 Thread Jesus M. Castagnetto

jmcastagnetto   Wed Aug 14 16:44:50 2002 EDT

  Modified files:  
/phpdoc/en/chapters install.configure.xml 
  Log:
  Adding blurb about using "configure --help" for a full up-to-date list
  
  
Index: phpdoc/en/chapters/install.configure.xml
diff -u phpdoc/en/chapters/install.configure.xml:1.2 
phpdoc/en/chapters/install.configure.xml:1.3
--- phpdoc/en/chapters/install.configure.xml:1.2Fri Jan 11 18:17:16 2002
+++ phpdoc/en/chapters/install.configure.xmlWed Aug 14 16:44:49 2002
@@ -1,5 +1,5 @@
 
-
+
 
  Complete list of configure options
  
@@ -24,6 +24,12 @@
   have changed.
 -->
  
+ 
+  There are general configuration options for the configure
+  script, consult the appropriate manual pages for GNU
+  autoconf or use the command 
+  configure --help for a full, up-to-date list.
+ 
 
  
   
@@ -117,4 +123,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] FW: [PHP-NOTES] note 24375 added to install.configure

2002-08-14 Thread Jesus M. Castagnetto

Maxim

That is a general option for the "configure" tool
(part of Gnu autoconf), which is documented in
elsewhere (along w/ other tools):

http://www.gnu.org/manual/autoconf/index.html

and 

http://www.airs.com/ian/configure/

It is also mentioned in the "INSTALL" file in the
source distribution.

I will add the info above to the note.

--- Maxim Maletsky <[EMAIL PROTECTED]> wrote:
> 
> I could not reply to the poster because of the email
> address. Could
> anyone check if that's the documentation bug?
> 
> 
> Sincerely,
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 14, 2002 6:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-NOTES] note 24375 added to
> install.configure
> 
> The --prefix=PREFIX configure option isn't mentioned
> here. It apparently
> defaults to /usr/local, and sets the position of the
> php includes and
> libs. (in PREFIX/include/php and PREFIX/lib/php)
> -- 
> http://www.php.net/manual/en/install.configure.php
>
http://master.php.net/manage/user-notes.php?action=edit+24375
>
http://master.php.net/manage/user-notes.php?action=delete+24375
>
http://master.php.net/manage/user-notes.php?action=reject+24375
> 
> 
> -- 
> PHP Notes 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
> 


=
--- Jesus M. Castagnetto <[EMAIL PROTECTED]>

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] Question on translation

2002-08-14 Thread Gabor Hojtsy

> In the shared-memory extension there is a old file called size.xml.
> The new file is named shmop-size.xml. I added the new file to the
> repository. Can I now remove/delete the file size.xml or what to do
> with it?
> What to do generally with files which are renamed.
> Leave? Remove?

If the contents are the same, then the old file should be deleted.

Goba



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] Question on translation

2002-08-14 Thread Cornelia Boenigk

Hi all

Next Question:

In the shared-memory extension there is a old file called size.xml.
The new file is named shmop-size.xml. I added the new file to the
repository. Can I now remove/delete the file size.xml or what to do
with it?
What to do generally with files which are renamed.
Leave? Remove?

Greetings
Conni


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #14668 [Opn->Bgs]: wrong bit arithmetics

2002-08-14 Thread iliaa

 ID:   14668
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: SuSE Linux 7.1
 PHP Version:  4.1.0
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You are using ip2long, which in many cases will return a interger value
greater then 2147483647 (on 32 bit machines). Since, PHP normally
treats numbers as signed, numbers greater then 2147483647 become
negative. The solution to your problem would be to use 
sprintf("%u", base_convert(ip2long("255.255.0.255" ) ^ 
0x, 10, 2 ));
This will tell php to treat the number as an unsigned integer, allowing
it to go as high as 4294967295, which is largest value ip2long can
possibly return.


Previous Comments:


[2002-05-04 00:13:42] [EMAIL PROTECTED]

Don't use ip2long/long2ip. It just dosen't work. 
Do it by yourself with bcmath.

Manual page should clearly note the limitation.
Changed to doc problem to see if manual is ok.





[2001-12-23 06:55:25] [EMAIL PROTECTED]

Hi,

using ip2long is strange enough itself (would you please 
do some better description on what I get out after calling 
this function or at least do some references to documents 
(RFCs) describing that "IP address in full length 
notation" format).

Anyhow: I'm coding the following



and get

string(2) "10"

(under 4.0.6 I got something different: 31 () 1's in 
string without that trailing 0)

what about all the other leading bits that should be 1?



And in relation with the ip2long-trouble I'm having:



what gives me

string(16) "0001" string(16) ""



I beg to get some fast response! This behaviour of ip2long 
and/or xor-operator is too strange to be easily understood 
after reading that minimal function reference entry. But I 
need it a lot for some work that needs to be done 
urgently!!

Thank you very much!


Regards,
Thomas Urban






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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] FW: [PHP-NOTES] note 24375 added to install.configure

2002-08-14 Thread Maxim Maletsky


I could not reply to the poster because of the email address. Could
anyone check if that's the documentation bug?


Sincerely,
Maxim Maletsky
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 6:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP-NOTES] note 24375 added to install.configure

The --prefix=PREFIX configure option isn't mentioned here. It apparently
defaults to /usr/local, and sets the position of the php includes and
libs. (in PREFIX/include/php and PREFIX/lib/php)
-- 
http://www.php.net/manual/en/install.configure.php
http://master.php.net/manage/user-notes.php?action=edit+24375
http://master.php.net/manage/user-notes.php?action=delete+24375
http://master.php.net/manage/user-notes.php?action=reject+24375


-- 
PHP Notes 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/chmonly skins.xml

2002-08-14 Thread Gabor Hojtsy

gobaWed Aug 14 09:10:44 2002 EDT

  Modified files:  
/phpdoc/en/chmonly  skins.xml 
  Log:
  Some build errors corrected
  
  
Index: phpdoc/en/chmonly/skins.xml
diff -u phpdoc/en/chmonly/skins.xml:1.2 phpdoc/en/chmonly/skins.xml:1.3
--- phpdoc/en/chmonly/skins.xml:1.2 Wed Aug 14 09:04:32 2002
+++ phpdoc/en/chmonly/skins.xml Wed Aug 14 09:10:44 2002
@@ -1,5 +1,5 @@
 
-
+
  
   Skin development
 
@@ -148,10 +148,12 @@
 
  
   
-   
r;
contains - all the page contents. This begins right after and ends just - before . This division is hidden by default, you need to show - it after you are ready with the page rewriting process. +
contains + all the page contents. This begins right after + and ends just before + . This division is hidden by default, + you need to show it after you are ready with the page rewriting + process. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DOC] cvs: phpdoc /en/chmonly skins.xml

2002-08-14 Thread Gabor Hojtsy

gobaWed Aug 14 09:04:32 2002 EDT

  Modified files:  
/phpdoc/en/chmonly  skins.xml 
  Log:
  Adding more info on skinning, HTML divs and CSS classes
  
  
Index: phpdoc/en/chmonly/skins.xml
diff -u phpdoc/en/chmonly/skins.xml:1.1 phpdoc/en/chmonly/skins.xml:1.2
--- phpdoc/en/chmonly/skins.xml:1.1 Mon Aug 12 08:42:31 2002
+++ phpdoc/en/chmonly/skins.xml Wed Aug 14 09:04:32 2002
@@ -1,5 +1,5 @@
 
-
+
  
   Skin development
 
@@ -25,14 +25,28 @@
page contents to the viewer. Theoretically there are two kinds of skins:
CSS skins and Full skins. CSS skins only modify the CSS and does not
amend the page layout. Full skins also modify the page layout. We have
-   included sample skins for both the CSS skin type and the Full skin type.
+   included sample skins for both the CSS skin type and the Full skin type
+   ("greenlinks" and "headernostalgia"
+   respectively).
+  
+  
+  
+   
+
+ Note that though the current skin development methods are quite final,
+ there may be heavy changes in used CSS classes or page elements while
+ we refine the skin development ideas. As this edition is currently in
+ development stage, the information described herein is not to be
+ considered completely stable.
+
+   
   
   
   
Page Display Process
 

-If you are going to develop your own skin, you should now how one
+If you are going to develop your own skin, you should know how one
 page is loaded and displayed to the user, and how a skin fits in
 this process. For these paragraphs, we assume that you have put
 your CHM into c:\phpmanual, so it's accessible
@@ -45,14 +59,14 @@
  
   
First of all the HTML content is loaded in from
-   function.echo.html.
+   function.echo.html from inside the CHM.
   
  
  
   
-   At the top of this file, there is a HTML