Home > Net >  gzip, deflate decompress php
gzip, deflate decompress php

Time:12-17

I have an encoded string, how do I decode it

eNpTNXdSNTJKLSrKLwLSqsaOJUWlqapGzkBOSmpxMlQQSKYlZuakpqgaGSSWlmTkF2VWJZZk5ueBpM1dALkhFLk=

gzdecode, gzinflate, zlib_decode output false

on this site it stands for as it should be

CodePudding user response:

Lots of layers to decode here:

$result = json_decode(urldecode(zlib_decode(base64_decode($str))), true);

This yields:

Array
(
    [error] => 1
    [descr] => failed authorization
)
  • Related