Pages: [1]   Go Down
Send this topic | Print
Author Topic: .pdf to .txt php converterter[resolve]  (Read 925 times)
mykajay
Hyper-Active Member
***
Offline Offline

Posts: 156


« on: August 29, 2008, 06:12:17 PM »

how can i fetch the txt content of a pdf file? Is that supported by 110mb?
« Last Edit: August 29, 2008, 06:47:46 PM by mykajay » Logged
Slittzle
He touched me with noodle appendage
Loyal 110MB Member
*******
Offline Offline

Posts: 2991


©®ªŞ


WWW
« Reply #1 on: August 29, 2008, 06:26:09 PM »

well if the pdf file is on the same server it's easier to do, otherwise you have to retrieve the contents which can become server intensive (especially since some pdfs can be really large). Let's assume the file is on the same server, you can try using the inbuilt pdf tools (see here http://php.net/pdf). The easiest way I can think of is if the pdf file is indexed by google, it shows a link that says 'view as html' - you could just retrieve that page and then you have it already converted.

Most of the inbuilt php features are intended for creating pdfs.


Logged

mykajay
Hyper-Active Member
***
Offline Offline

Posts: 156


« Reply #2 on: August 29, 2008, 06:33:15 PM »

ok thank you so much, i will used that for a word game, it just happen that i don't like to type the whole pdf file lol
Logged
robleyd
Official 110mb Guru
********
Online Online

Posts: 5648

Ask before you PM


« Reply #3 on: August 29, 2008, 06:33:44 PM »

It doesn't look like the PDF functions are available on 110mb - certainly not on Box 4 - and they don't seem to have any pdf to text capabilities anyway. A quick search suggests that there is nothing in PEAR or PECL to do this either.
Logged

I once had a hard drive clunk-clicking
Strange noises, weird sounds and tick-ticking
I thought I would wait
And procrastinate...
But now all my data is missing
--------------
dd, a dump, a data dump
read a line from standard in
$USER, the name I call my self
make - a long long time to run
.so a library that is shared
.ko it's not the same as .so
tee, a redirect with in and out
and brings us back to dd d d d
mykajay
Hyper-Active Member
***
Offline Offline

Posts: 156


« Reply #4 on: August 29, 2008, 06:40:14 PM »

It doesn't look like the PDF functions are available on 110mb - certainly not on Box 4 - and they don't seem to have any pdf to text capabilities anyway. A quick search suggests that there is nothing in PEAR or PECL to do this either.
thanks again for a quick reply i think i will convert it first to .txt into my localhost before anything else
Logged
Slittzle
He touched me with noodle appendage
Loyal 110MB Member
*******
Offline Offline

Posts: 2991


©®ªŞ


WWW
« Reply #5 on: August 30, 2008, 04:19:40 AM »

That's best, that way you can format it as you want.
Logged

Pages: [1]   Go Up
Send this topic | Print
Jump to: