reading pdf
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 inside. Words "Hello world" are
represented in PDF 1.2 as:
xś3Đ3T0 A(ťśËUČU¨`QÉą
N!\úA¦
F
!i\Ą†
ćF
ć@‘\.
ŹÔśś|…ňü˘śÍ,.×…@®@. €r„
but after I compress "Hello world" in PHP I get:
xóHÍÉÉW(Ď/ĘIŤ=
Do you know how to get this problem fixed? I just would like to read
data from PDF using PHP. I tried running external programs from PHP,
but this is not what I need.
.
Relevant Pages
- Re: [PHP] Re: header() function for displaying an opened PDF document.
... storing the file to the server because of two features. ... php script to use the email to pick up the file and send it to my boss. ... I'm thinking of using hte HTML conversion to PDF feature. ... (php.general) - RE: [PHP] Simple PDF manipulation
... www.carbonfree.org.uk - become Carbon Free ... We have a license for PDFLib ... we had issues trying to do this with fpdf and some other PHP ... PDF libraries, but PDFlib allowed us to do it and it's what we've used ever ... (php.general) - Re: How to run a php script which contains a pdf
... download. ... What has been downloaded though is a .php script. ... The properties shows that it contains a pdf document, but I've no idea how to ... extension and just have to rename it. ... (Fedora) - Re: how do I compress large files? was Re: can this backup script work?
... Since the mysqldump produces a file that is over a gig in size, we want to compress the file. ... So I'm using file_get_contents to load the backup database info as a string. ... Is PHP actually using a gig of memory to hold this giant string? ... saved to another server, linked to the current server using NFS. ... (alt.php) - libharu - now libhpdf - issues
... I am not sure if this a debian issue or not, but I am trying to make a big pdf file of the php manual so I can load it onto my kindle. ... but this seems to first detect the haru library and then say that it is wrong as shown by the last few lines of the .configure script. ... (Debian-User) |
|