Forum Moderators: coopster
this small issue is in fact from a bigger problem, I have to obtain info about avi, mov, wmv remote files. So, I can't afford to copy the files local in order to detect it's proprieties, I only read the header of the file (first 1024 bits) and for those I have to run the decompression function. The example I've posted gave the same error, when choosing
$size = 1;
Warning: gzuncompress() [function.gzuncompress]: buffer error in C:\web\lightbt\test3.php on line 5
So, the problem rest in the fact I must decompress the first n chars of an encrypted string, where n<strlen(string).
Thanks for your answer,
Radu.