Heya Guys,
Quick question for you.
I am making a PHP website that will allow a user to upload PUB files and PDF files to the website then the website should display these files on the site.
Is this possible? I would imagine the file would have to be converted first, but I cannot see how to convert a file from one format into HTML using PHP?
Anyone ever done anything like this? Would appreciate any help or advice.
Thanks guys
Andy
PHP File Reading
Moderator: General Moderators
- PHPHorizons
- Forum Contributor
- Posts: 175
- Joined: Mon Sep 14, 2009 11:38 pm
Re: PHP File Reading
Hello drewdan,
Most of the time, folks just put a link to the pdf file and let the browser's adobe plugin handle the file. There is a php module that can be used to manipulate pdf files and you probably could use that to extract the text from the pdf. But the best way to go is definitely letting the browser handle it.
Cheers
Most of the time, folks just put a link to the pdf file and let the browser's adobe plugin handle the file. There is a php module that can be used to manipulate pdf files and you probably could use that to extract the text from the pdf. But the best way to go is definitely letting the browser handle it.
Cheers
Re: PHP File Reading
Thanks for your help.
Presumably there is no function that would allow a user to upload a Publisher file and the script convert it to HTML and put the HTML into a database is there?
Thanks again for your help! Found the PDF functions in PHP so can start using them now!
Cheers
Presumably there is no function that would allow a user to upload a Publisher file and the script convert it to HTML and put the HTML into a database is there?
Thanks again for your help! Found the PDF functions in PHP so can start using them now!
Cheers
- PHPHorizons
- Forum Contributor
- Posts: 175
- Joined: Mon Sep 14, 2009 11:38 pm
Re: PHP File Reading
You're welcome 
I don't know about the publisher file. A fairly quick google search yielded no results for me either.
Sorry, and good luck with it.
I don't know about the publisher file. A fairly quick google search yielded no results for me either.
Sorry, and good luck with it.
Re: PHP File Reading
Thankyou for your help!
Andy
Andy