Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: How to decode this "gzinflate (base64_decode(***

by rafl (Friar)
on Jan 02, 2008 at 23:54 UTC ( #660085=note: print w/replies, xml ) Need Help??

in reply to How to decode this "gzinflate (base64_decode(***

There's the MIME::Base64 module to decode the base64 data and the Compress::Zlib module to inflate the result.

  • Comment on Re: How to decode this "gzinflate (base64_decode(***

Replies are listed 'Best First'.
Re^2: How to decode this "gzinflate (base64_decode(***
by Zeokat (Novice) on Jan 03, 2008 at 00:25 UTC
    I tryed but i canīt find the solution... donīt know enougth perl.

      Put together from the synopsis of those two pages I linked to, but untested:

      use MIME::Base64; use Compress::Zlib; my $output = Compress::Zlib::memGunzip(decode_base64($input));
        #!/usr/bin/perl -w use strict; use MIME::Base64; use Compress::Zlib; my $input = '******code*****'; my $output = Compress::Zlib::memGunzip(decode_base64($input)); print $output;
        No luck at all.... i surrender. Thanks for all rafl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660085]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2018-01-20 08:27 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.