Can someone enlighten me as to why session_register() and $_SESSION
shouldn't be used togeather? It seems to me the session_register()
function(s) should just be working with $_SESSION anyway... Are they
doing something different? Is this desired behavior if it is doing
something different?
John
[EMAIL PROTECTED] wrote :
On Tue, 17 Dec 2002, Bertrand Mansion wrote:
If this behaviour could be extended to support $className::method(), that
would be just great.
Search the archives, it was brought up before, conclusion: it will not
happen.
I only found this:
On Tue, 17 Dec 2002, John Coggeshall wrote:
Can someone enlighten me as to why session_register() and $_SESSION
shouldn't be used togeather? It seems to me the session_register()
function(s) should just be working with $_SESSION anyway... Are they
doing something different? Is this desired
Where did you find that recommendation?
http://www.php.net/manual/en/function.session-register.php
Read the note :) I thought it was kind of strange myself... If this is
changed in 4.3 I will update the docs to reflect this, but I wanted to
see what everyone had to say about it first.
John
- Original Message -
From: Sascha Schumann [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 11:02 AM
Subject: Re: [PHP-DEV] Sessions, session_register()
Isn't that an error that 4.2.3 throws when session_register() is used as
php_error(E_WARNING, Your script possibly relies on a
session side-effect which existed until PHP 4.2.3. Please be
advised that the session extension does not consider global
variables as a source of data, unless register_globals is
enabled. You can disable this functionality and this
Isn't that an error that 4.2.3 throws when session_register() is used as
well as
registering directly in $_SESSION?
So the message is not easily comprehensible, I suppose.
There is no problem when you have register_globals enabled
and you mix session_register and use of
The problem stems from the fact that some users have been
(ab)using session_register when register_globals is off.
session_register is only supposed to be used for the
register_globals=on case.
Those functions need to be updated in the manual then to reflect this
change. If I say
On Tue, Dec 17, 2002 at 09:57:08AM +0100, Bertrand Mansion wrote :
[EMAIL PROTECTED] wrote :
On Tue, 17 Dec 2002, Bertrand Mansion wrote:
If this behaviour could be extended to support $className::method(), that
would be just great.
Search the archives, it was brought up before,
Hello,
I stumbled upon this feature today and am wondering
why it exists:
?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('a', 'b');
$arr = array('a' = 'apple',
'b' = 'banana',
'c' = 'cranberry');
echo a $arr[a] \n; // apple
echo b {$arr[a]} \n;
Hi!
It would be nice to add links to the latest aliases to the snaps.php.net
main page. It seems that the aliases containing latest instead of the
package / compile time are still in effect, so please add the links to
them on the snaps page.
Thanks,
Goba
--
PHP Development Mailing List
hi guys i have the latest cvs , my function used to work now it doesnt
function
progressbar_percentage($i,$files,$newwin,$moviename,$status,$sleep=null){
if (is_array($files)) $per = $i/count($files); else $per = $i/$files;
$per = $per*100;
$buffer = script language=\javascript\\n;
$buffer .=
actually i singled it out , it doesnt flush until the end of the loop, so it
waits till the loop is finished and then flushes i suppose this is a bug.
Electroteque [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi guys i have the latest cvs , my function used to
At 12:49 AM 12/17/2002 +0900, Moriyoshi Koizumi wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
I don't understand what you're doing here. Are you actually separating on
every assignment and doing a deep copy?
What I'm trying to do in my patch can be divided into two phases.
In the first phase,
It won't be supported but you can use eval() if you really need to.
Andi
At 08:47 PM 12/16/2002 +0100, Bertrand Mansion wrote:
[EMAIL PROTECTED] wrote :
On Mon, 16 Dec 2002, Bertrand Mansion wrote:
[EMAIL PROTECTED] wrote :
Its neither, its a fact of the language, the following:
At 11:26 AM 12/17/2002 +0800, Alan Knowles wrote:
It would be usefull to have a direction on this, - It's come up a number
of times in bug reports.
It has a number of uses (primarily breaking large classes up, into smaller
components..), and a clearer way to write code than using a huge
At 05:16 PM 12/17/2002 +, Philip Olson wrote:
Hello,
I stumbled upon this feature today and am wondering
why it exists:
?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('a', 'b');
$arr = array('a' = 'apple',
'b' = 'banana',
'c' = 'cranberry');
Andi Gutmans [EMAIL PROTECTED] wrote:
At 12:49 AM 12/17/2002 +0900, Moriyoshi Koizumi wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
I don't understand what you're doing here. Are you actually separating on
every assignment and doing a deep copy?
What I'm trying to do in my patch can
18 matches
Mail list logo