Search found 2 matches

by wlq
Sun Oct 25, 2009 9:57 am
Forum: PHP - Code
Topic: gzuncompress, zlib question
Replies: 2
Views: 802

Re: gzuncompress, zlib question

Ok, I downloaded the functions to read pdf from php.net (below I present one of them):   <?php function handleV2($data){       // try detecting \n, \r or \r\n variation     $tmp = strpos($data, "stream");     $end_stream_delimiter = substr($data, $tmp+6, 2);       if($end_stream_delimiter ...
by wlq
Sun Oct 25, 2009 9:29 am
Forum: PHP - Code
Topic: gzuncompress, zlib question
Replies: 2
Views: 802

gzuncompress, zlib question

Hi! I was trying to use some of the pdf2text classes, from for example php.net. However, with every of them I cannot read any compressed data. I think the problem might be with gzuncompress. It shows always: Warning: gzuncompress() [function.gzuncompress]: data error I checked the pdf files from ins...