110mb.com Forum
News: Can't upload images in SiteBuilder on Box17? Solution here. | CGI/Perl/Python disabled on all servers. Updating it's security... | Ads trial to begin end of July/early Aug. More...
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 05, 2009, 08:08:19 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 627 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: 2845


©®ªŞ


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
********
Offline Offline

Posts: 5333

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
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: 2845


©®ªŞ


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.8 | 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!