Re: PHP 4.0 Bug #7633 Updated: NULL-bytes cause fundamental problems in string processing

From: Date: Thu, 30 Nov 2000 09:24:17 +0000
Subject: Re: PHP 4.0 Bug #7633 Updated: NULL-bytes cause fundamental problems in string processing
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-39681@lists.php.net to get a copy of this message
Hello, please remove the bug report. The problem is that Netscape gets confused when confronted with a NULL-byte and leaves a "random" number of bytes out after a NULL-byte. Thanks for your work V. Burwitz Bug Database wrote: > > ID: 7633 > Updated by: sniper > Reported By: burwitz@mails-media.de > Status: Bogus > Bug Type: *General Issues > Assigned To: > Comments: > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-11-03 19:07:54] burwitz@mails-media.de > > Thank you for your help on Bug id #7621 but it really doesn't work, > here an example. > > The following Source: > > <html> > <? > $a ="abc".chr(0)."def"; > $b ="123".chr(0)."456"; > > $a .=b; > > echo strlen($a); > echo "X".$a."X"; > ?> > </html> > > PHP4.0.3pl1 with MySQL and Sablotron under Linux results > in: > > <html> > 8Xabc</html> > > Where the result should look like: > > <html> > 14Xabc0def1230456</html> > > I hope someone can help. > > Thanks > > V. Burwitz > > --------------------------------------------------------------------------- > > Full Bug description available at: http://bugs.php.net/?id=7633

« previous php.dev (#39681) next »