[PHP-DEV] Bug #13753: failed session_register in object method
From: [EMAIL PROTECTED] Operating system: linux mandrake 8.0 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: failed session_register in object method I have made much tests and it seems, that calling session register in object's method failed. Assume: ? (...)[session_start, headers, etc...] $edf2 = 1234; session_register('edf2'); class gg { function gg() { $edf1 = 65432; session_register('edf1'); } } gg::gg(); ? After that both session_is_registered('edf1') and session_is_registered('edf1') returns true, but ($edf1 == $edf2) return false; ($edf1 == '') - is true. Any suggestions? -- Edit bug report at: http://bugs.php.net/?id=13753edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13754: failed session_register in object method
From: [EMAIL PROTECTED] Operating system: linux mandrake 8.0 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: failed session_register in object method I have made much tests and it seems, that calling session register in object's method failed. Assume: ? (...)[session_start, headers, etc...] $edf2 = 1234; session_register('edf2'); class gg { function gg() { $edf1 = 65432; session_register('edf1'); } } gg::gg(); ? After that both session_is_registered('edf1') and session_is_registered('edf2') returns true, but ($edf1 == $edf2) return false; ($edf1 == '') - is true. Any suggestions? -- Edit bug report at: http://bugs.php.net/?id=13754edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13755: failed session_register in object method
From: [EMAIL PROTECTED] Operating system: linux mandrake 8.0 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: failed session_register in object method I have made much tests and it seems, that calling session register in object's method failed. Assume: (...)[session_start, headers, etc...] $edf2 = 1234; session_register('edf2'); class gg { function gg() { $edf1 = 65432; session_register('edf1'); } } gg::gg(); After that both session_is_registered('edf1') and session_is_registered('edf2') returns true, but ($edf1 == $edf2) return false; ($edf1 == '') - is true. Any suggestions? -- Edit bug report at: http://bugs.php.net/?id=13755edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13753 Updated: failed session_register in object method
ID: 13753 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: linux mandrake 8.0 PHP Version: 4.0.6 New Comment: misspeled; should be: After that both session_is_registered('edf1') and session_is_registered('edf2') returns true Previous Comments: [2001-10-19 09:50:59] [EMAIL PROTECTED] I have made much tests and it seems, that calling session register in object's method failed. Assume: ? (...)[session_start, headers, etc...] $edf2 = 1234; session_register('edf2'); class gg { function gg() { $edf1 = 65432; session_register('edf1'); } } gg::gg(); ? After that both session_is_registered('edf1') and session_is_registered('edf1') returns true, but ($edf1 == $edf2) return false; ($edf1 == '') - is true. Any suggestions? Edit this bug report at http://bugs.php.net/?id=13753edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13753 Updated: failed session_register in object method
ID: 13753 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Session related Operating System: linux mandrake 8.0 PHP Version: 4.0.6 New Comment: Ok, sorry, but why session_is_registered returns true? And btw, which list/news you can recomend me, that I can get help such as this as soon, as possible? Previous Comments: [2001-10-19 10:14:11] [EMAIL PROTECTED] $edf1 is local to the gg() method you can only register variables from the global scope, so $edf1 is empty in the session as no such global variable existed as the session data was written [2001-10-19 09:55:30] [EMAIL PROTECTED] misspeled; should be: After that both session_is_registered('edf1') and session_is_registered('edf2') returns true [2001-10-19 09:50:59] [EMAIL PROTECTED] I have made much tests and it seems, that calling session register in object's method failed. Assume: ? (...)[session_start, headers, etc...] $edf2 = 1234; session_register('edf2'); class gg { function gg() { $edf1 = 65432; session_register('edf1'); } } gg::gg(); ? After that both session_is_registered('edf1') and session_is_registered('edf1') returns true, but ($edf1 == $edf2) return false; ($edf1 == '') - is true. Any suggestions? Edit this bug report at http://bugs.php.net/?id=13753edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11861: Can't set any session variable
From: [EMAIL PROTECTED] Operating system: Win 2k PHP version: 4.0.6 PHP Bug Type: *Session related Bug description: Can't set any session variable The problem is, that I can't set any session variables when I turn register_globals Off. I read documentation carefully, but following code doesn't work - variable user isn't set in main.php. I'm not so sure what's mean of: PHP DOC only members of the global associative array PHP DOC $HTTP_SESSION_VARS can be registered as session PHP DOC variables.The restored session variables will only PHP DOC be available in the array $HTTP_SESSION_VARS After execute following code, $HTTP_SESSION_VARS[user] isn't set in main.php. $user = $s_user; $HTTP_SESSION_VARS[user] = $s_user; session_register(user); header(Location: main.php); exit; -- Edit Bug report at: http://bugs.php.net/?id=11861edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11833: Unsufficient docs
From: [EMAIL PROTECTED] Operating system: any PHP version: 4.0.6 PHP Bug Type: Documentation problem Bug description: Unsufficient docs There isn't enough information, from which assosiative array we can acces to predefined variables, when register globals is not set. Espesially $PHP_SELF isn't in $HTTP_ENV_VARS but $HTTP_SERVER_VARS, which mean not intuos (in my opinion) localization. Regards -- Edit Bug report at: http://bugs.php.net/?id=11833edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11833 Updated: Unsufficient docs
ID: 11833 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating system: any PHP Version: 4.0.6 Description: Unsufficient docs I don't agree. I just disable register_global by setting it Off. Now I can't acces simply $PHP_SELF - returned string is empty. When I get $HTTP_SERVER_VARS[PHP_SELF], the return string is such as the $PHP_SELF with register_global On. Maybe it isn't docs bug, but devel bug? Previous Comments: --- [2001-07-02 07:06:16] [EMAIL PROTECTED] $PHP_SELF is not an environment variable, nor a server variable, it is a special PHP variable, so it wont be registered in any arrays you listed --- [2001-07-02 06:53:24] [EMAIL PROTECTED] There isn't enough information, from which assosiative array we can acces to predefined variables, when register globals is not set. Espesially $PHP_SELF isn't in $HTTP_ENV_VARS but $HTTP_SERVER_VARS, which mean not intuos (in my opinion) localization. Regards --- Full Bug description available at: http://bugs.php.net/?id=11833 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11786: Problems with variables from forms posting.
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Problems with variables from forms posting. I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... -- Edit Bug report at: http://bugs.php.net/?id=11786edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11786 Updated: Problems with variables from forms posting.
ID: 11786 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Windows 2000 PHP Version: 4.0.6 Description: Problems with variables from forms posting. I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... after form submit. Previous Comments: --- [2001-06-28 13:41:58] [EMAIL PROTECTED] I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... --- Full Bug description available at: http://bugs.php.net/?id=11786 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]