Bug #1147: base64_decode doesn't work

From: Date: Sun, 14 Feb 1999 16:27:45 +0000
Subject: Bug #1147: base64_decode doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-4084@lists.php.net to get a copy of this message
From: o.lau@t-online.de Operating system: Linux-2.2.1 PHP version: 3.0.6 PHP Bug Type: Misbehaving function Bug description: base64_decode doesn't work Variable $g3 contains base64 encoded GIF data. $fp = fopen(tempnam("/tmp", "img"), "w"); fwrite($fp, base64_decode($g3)); fclose($fp); results in empty file (i.e. null byte size file). -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4084) next »