110mb.com Forum
News: Currently none. But refer to this news before you post an error, maybe it's already being fixed Wink
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 01:20:49 AM


Login with username, password and session length


Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: .pdf to .txt php converterter[resolve]  (Read 203 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: 2566


©®ªŞ


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
Loyal 110MB Member
*******
Online Online

Posts: 4550

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

News Flash:  Microsoft acquires Electrolux, makes extensive design revisions.  Finally releases a product that doesn't suck.

No electrons were harmed in the creation, transmission or reading of this post. However, many were excited and some may well have enjoyed the experience.

The difference between a bagpipe and a trampoline is that you have to take your shoes off to jump on a trampoline.
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: 2566


©®ªŞ


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:  

  Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC

Theme by Dilber MC | Using SEO4SMF Mod

All content on this forum (especially posts) is copyright property of 110mb & the member
who wrote the post. So if you wish to steal anyone's post on this forum, you'll wish you
were dead because our lawyers will sue your ass!