reading PDF file into a DB

--005045015ea75597560483aa1493
Content-Type: text/plain; charset=ISO-8859-1

Hello Guys,

I am working on a project, which requires a PDF file to be read page wise
into the DB, once it has been uploaded, the contents from the PDF would then
appear on a Flash screen.

I need help reading the contents of the PDF file into DB retaining the page
numbers, does anyone have an idea how this can be accomplished, i hope
someone here has done this before :)

Thanks,
Vinay

--005045015ea75597560483aa1493--
Vinay Kannan [ Mi, 07 April 2010 20:53 ] [ ID #2038049 ]

MySQL vs. Session array

Quick question. I have an AJAX component that fires a "like" query for
each "key up" event (since it's a like % query there is no indexing or
caching possible). While everything works fine, I was contemplaining
downloading the ~1500 rows into a session var as array, offloading the
(seperate) mysql server and utilizing the (underutilized) php server.
Any thoughts?
PS: maybe even offload it to a JavaScript function??

Thank you,
Eli

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3dgtech [ Do, 08 April 2010 00:13 ] [ ID #2038201 ]

Re: MySQL vs. Session array

On 8 April 2010 00:13, 3dgtech <systems [at] 3dgtech.com> wrote:
> Quick question. I have an AJAX component that fires a "like" query for each
> "key up" event (since it's a like % query there is no indexing or caching
> possible). While everything works fine, I was contemplaining downloading the
> ~1500 rows into a session var as array, offloading the (seperate) mysql
> server and utilizing the (underutilized) php server. Any thoughts?

You'd be better off storing stuff in memcache than session, would be
my opinion - session is per user, so you wouldn't get much cache reuse
out of it.

--
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
Flickr: http://www.flickr.com/photos/fake51
BeWelcome: Fake51
Couchsurfing: Fake51
</hype>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Peter Lind [ Do, 08 April 2010 00:35 ] [ ID #2038202 ]

Re: reading PDF file into a DB

Vinay Kannan wrote:
> Hello Guys,
>
> I am working on a project, which requires a PDF file to be read page wise
> into the DB, once it has been uploaded, the contents from the PDF would then
> appear on a Flash screen.
>
> I need help reading the contents of the PDF file into DB retaining the page
> numbers, does anyone have an idea how this can be accomplished, i hope
> someone here has done this before :)

http://www.php.net/manual/en/book.pdf.php

If there are no functions for reading a pdf, there are some links at the
bottom of that page that might help.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dmagick [ Do, 08 April 2010 00:54 ] [ ID #2038203 ]

Re: reading PDF file into a DB

i always found http://www.ros.co.nz/pdf/ to be useful for these kind
of applications

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
kranthi [ Do, 08 April 2010 05:31 ] [ ID #2038204 ]
PHP » gmane.comp.php.database » reading PDF file into a DB

Vorheriges Thema: mysql/php time out issue
Nächstes Thema: imagecopyresize???????