Re: [PHPLIB-DEV] session.inc and special characters in strings From: Massimiliano Masserelli (negro <email protected>)
Date: 10/26/99

On Tue, Oct 26, 1999 at 01:14:40PM +0200, Kristian Koehntopp wrote:

 KK> Attached two test scripts. Seems that a lot of characters have
 KK> problems in serialization.
 
I tried your scripts, and it seems that all 255 chars got correctly
in the registered var. I only modified the test script this way:

  for ($i=0; $i<$len; $i++) {
    $t = sprintf("i=%s char = %s", $i, ord($teststr[$i]));
    if (($i + 1) != ord($teststr[$i])) {
      printf("<b>%s</b><br>\n", $t);
    } else {
      printf("%s<br>\n", $t);
    }
  }

No bold printouts in the page... 8-)

Bye.

--
     Massimiliano Masserelli       |     URL:    http://www.interim.it/
     Internet Images S.r.l.        |     Tel:    +39-051-3390671
     vicolo Viazzolo, 3            |     Fax:    +39-051-557890
     40124 - Bologna - Italy       |
-------------------------------------------------------------------------------
When I works, I works hard.
When I sits, I sits easy.
And when I thinks, I goes to sleep.
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.