RE: PHP 4.0 Bug #8669 Updated: Swedish characters in session-variables can appear differently
| From: | Per-Olof Pettersson | Date: | Fri, 12 Jan 2001 11:34:31 +0000 |
| Subject: | RE: PHP 4.0 Bug #8669 Updated: Swedish characters in session-variables can appear differently | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-43855@lists.php.net to get a copy of this message | ||
I do not believe it will be very informative but:
Input of data:
session_start();
$sess_login[adress] = $adress;
session_register("sess_login");
To retrieve the data:
<? session_start() ?>
<input type="text" size="20" name="adress" maxlength="60"
value="<?=$sess_login[adress]?>">
I have not tested this to generate the error. I have installed php 4.0.4pl1
and it seems to work by now.
Regards
Per-Olof Pettersson
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: den 12 januari 2001 12:17
To: peo@egenweb.com
Subject: PHP 4.0 Bug #8669 Updated: Swedish characters in session-variables
can appear differently
ID: 8669
Updated by: sniper
Reported By: peo@egenweb.com
Old-Status: Open
Status: Feedback
Bug Type: *Session related
Assigned To:
Comments:
Could you please add a complete but short example script
into this report?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 03:11:02] peo@egenweb.com
Session variables containing åäö on a systems not supporting these
characters can change when saved to /tmp folder. While they are in memory
they are perfectly Ok.
It appears that some function is using a shell-call or something to read the
contents of the stored session-variables instead of using a normal read.
At least this is my interpretation of the error.
Input is taken from <input> -fields and output is generated like <input
value="<?=$sessionvariable?>">
Regards
Per-Olof Pettersson
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8669