gzinflate erroring
Posted
by Rob
on Stack Overflow
See other posts from Stack Overflow
or by Rob
Published on 2010-06-02T09:51:29Z
Indexed on
2010/06/02
9:53 UTC
Read the original article
Hit count: 211
php
Well, I'm trying to gzdeflate my code to perform some very low level encryption for distribution, to use with eval(gzinflate('deflated_code'));
However whenever I try to inflate the deflated string, it outputs an error.
For example:
echo(gzdeflate('test'));
outputs +I-.?
But when I try to echo(gzinflate('+I-.?'));
it only outputs Warning: gzinflate() [function.gzinflate]: data error
Is there something I'm missing? Why is it outputting this error rather than test
?
© Stack Overflow or respective owner