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

2003-06-10 Thread Philip Olson
philip  Wed Jun 11 00:38:52 2003 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-register.xml 
  Log:
  Link to $_SESSION docs, added ¬e.registerglobals; entity, and some example 
comments.
  
  
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.8 
phpdoc/en/reference/session/functions/session-register.xml:1.9
--- phpdoc/en/reference/session/functions/session-register.xml:1.8  Fri Jan 31 
14:14:58 2003
+++ phpdoc/en/reference/session/functions/session-register.xml  Wed Jun 11 00:38:52 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -25,16 +25,20 @@
 
  
   If you want your script to work regardless of register_globals,
-  you need to use the $_SESSION array. All
-  $_SESSION  entries are automatically
+  linkend="ini.register-globals">register_globals,
+  you need to instead use the 
+  $_SESSION array 
+  as $_SESSION entries are automatically
   registered. If your script uses
   session_register, it will not work in
-  environments where register_globals
+  environments where the PHP directive 
+  register_globals
   is disabled.
  
 
+
+¬e.registerglobals;
+
 
  
   This registers a global variable. If you
@@ -71,13 +75,17 @@
  
   
 
   
  
@@ -102,8 +110,9 @@
  
 
 
- See also session_is_registered and
- session_unregister.
+ See also session_is_registered,
+ session_unregister, and
+ $_SESSION.
 

   



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



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

2003-01-31 Thread Martin Samesch
samesch Fri Jan 31 14:14:59 2003 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-register.xml 
  Log:
  added tags; s/mimick/mimic; wrapped some lines
  
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.7 
phpdoc/en/reference/session/functions/session-register.xml:1.8
--- phpdoc/en/reference/session/functions/session-register.xml:1.7  Sat Jan 18 
00:38:52 2003
+++ phpdoc/en/reference/session/functions/session-register.xml  Fri Jan 31 14:14:58 
+2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -24,28 +24,33 @@
 
 
  
-  If you want your script to work regardless of register_globals, you need
-  to use the $_SESSION array. All $_SESSION entries are automatically
-  registered. If your script uses session_register(), it will not work in
-  environments where register_globals is disabled.
+  If you want your script to work regardless of register_globals,
+  you need to use the $_SESSION array. All
+  $_SESSION  entries are automatically
+  registered. If your script uses
+  session_register, it will not work in
+  environments where register_globals
+  is disabled.
  
 
 
  
-  This registers a global variable. If you want to
-  register a session variable from within a function, you need to make sure to
-  make it global using the 
-  global 
-  keyword or the $GLOBALS[] array, or use the special session 
-  arrays as noted below.
+  This registers a global variable. If you
+  want to register a session variable from within a function, you
+  need to make sure to make it global using the global
+  keyword or the $GLOBALS[] array, or use the
+  special session arrays as noted below.
  
 
 
  
-  If you are using
-  $_SESSION (or $HTTP_SESSION_VARS),
-  do not use session_register,
-  session_is_registered and
+  If you are using $_SESSION
+  (or $HTTP_SESSION_VARS), do not use
+  session_register,
+  session_is_registered, and
   session_unregister.
  
 
@@ -56,7 +61,7 @@
 
  If session_start was not called before this function
  is called, an implicit call to session_start with no
- parameters will be made.  $_SESSION does not mimick
+ parameters will be made.  $_SESSION does not mimic
  this behavior and requires session_start before use.
 
 



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




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

2003-01-17 Thread Philip Olson
philip  Sat Jan 18 00:38:52 2003 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-register.xml 
  Log:
  Mention that $_SESSION does not implicitly call session_start() like 
session_register() does. 
  This deals with bug #19068
  
  
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.6 
phpdoc/en/reference/session/functions/session-register.xml:1.7
--- phpdoc/en/reference/session/functions/session-register.xml:1.6  Tue Dec 17 
05:30:05 2002
+++ phpdoc/en/reference/session/functions/session-register.xml  Sat Jan 18 00:38:52 
+2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -56,7 +56,8 @@
 
  If session_start was not called before this function
  is called, an implicit call to session_start with no
- parameters will be made.
+ parameters will be made.  $_SESSION does not mimick
+ this behavior and requires session_start before use.
 
 
  You can also create a session variable by simply setting the



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




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

2002-10-04 Thread Hartmut Holzgraefe

hholzgraFri Oct  4 05:44:36 2002 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-register.xml 
  Log:
  "global" is not a function
  
  
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.4 
phpdoc/en/reference/session/functions/session-register.xml:1.5
--- phpdoc/en/reference/session/functions/session-register.xml:1.4  Sun Jun 16 
03:11:03 2002
+++ phpdoc/en/reference/session/functions/session-register.xml  Fri Oct  4 05:44:35 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -25,8 +25,10 @@
 
  
   This registers a global variable. If you want to
-  register a session variable inside a function, you need to make sure to
-  make it global using global or use the session
+  register a session variable from within a function, you need to make sure to
+  make it global using the 
+  global 
+  keyword or the $GLOBALS[] array, or use the special session 
   arrays as noted below.
  
 



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




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

2002-05-27 Thread Friedhelm Betz

betzMon May 27 06:20:20 2002 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-register.xml 
  Log:
  entity correction
  
Index: phpdoc/en/reference/session/functions/session-register.xml
diff -u phpdoc/en/reference/session/functions/session-register.xml:1.2 
phpdoc/en/reference/session/functions/session-register.xml:1.3
--- phpdoc/en/reference/session/functions/session-register.xml:1.2  Wed Apr 17 
02:43:59 2002
+++ phpdoc/en/reference/session/functions/session-register.xml  Mon May 27 06:20:18 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -51,7 +51,7 @@
 
  You can also create a session variable by simply setting the
  appropriate member of the $HTTP_SESSION_VARS
- or $_SESSION (PHP >= 4.1.0) array.
+ or $_SESSION (PHP >= 4.1.0) array.