vendredi 27 février 2015

The gzuncompress of php equivalent on javascript


I have a php file that do:



echo(gzcompress("TEST COMPRESS"));


and on javascript i do a request on php and i want a function that do the same of gzuncompress(data) for take the result = "TEST COMPRESS" again on client side.


EDIT: If someone ready this question, the zlib will works if the php is with gzencode(), gzcompress will not work.





Aucun commentaire:

Enregistrer un commentaire