[PHP] Gzinflate on a string that has been base_64 encoded in Windows

2006-06-08 Thread Venky
Greetings! I have a long piece of string that is apparently a PNG image which has been base_64 decoded in an XML file. I can retreive this string without problem. The string is in $mystra $pngdata = base64_decode($mystra); $pngdata = gzinflate($pngdata); When i try to gzinflate it , i get a

Re: [PHP] Gzinflate on a string that has been base_64 encoded in Windows

2006-06-08 Thread Chris
Venky wrote: Greetings! I have a long piece of string that is apparently a PNG image which has been base_64 decoded in an XML file. I can retreive this string without problem. The string is in $mystra $pngdata = base64_decode($mystra); $pngdata = gzinflate($pngdata); When i try to gzinflate