You are here: extracting data from pdf files « PHP Programming Language « IT news, forums, messages
extracting data from pdf files

Posted by runner7 on 10/31/06 07:57

I used file_get_contents() to read a pdf into a string and then tried
to extract the encoded part between the "stream" and "endstream" words
using the strpos() and substr() functions. (I could not get
preg_match() to work.) The substr() pulled it out, but read past the
length I entered by 12 characters to include "endstream en". Besides
that minor problem, I tried gzuncompress() on the extracted string
which only generated a data error. Can anyone help me with extracting
data properly from a pdf file?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация