473,396 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

PDF content to DB

Hi guys. Is there anyway so that when i upload a PDF file to the DB i store its content on a DB field?

Thanks in advance ;)
Jul 6 '15 #1
6 1511
computerfox
276 100+
The first step would be to extract the content.
This can be done via TET: http://www.pdflib.com/download/tet/
Or you can convert to a Word document->change the file extension to zip->unzip->find the right xml files->gather data

Then you can insert into your database.
Jul 7 '15 #2
Could you explain how the conversion works?

Edit: As i read there TET only works for PDF with max 10 pages and 1MB. Or not but i need to pay for that :/
Jul 7 '15 #3
Luuk
1,047 Expert 1GB
I suggest to take a look at this site:
http://www.pdf2txt.com/

It can convert a PDF to text. (Other tools like this exist too!, search for 'PDF to TEXT conversion')
Jul 7 '15 #4
Is it possible to use this converter when clicking the upload button? example: I choose a pdf file for upload and click the button. When i click it this would convert the pdf to text and store it in a database field.
Jul 8 '15 #5
Basically it would be:

-Choose file (done)
-Click upload (done)
-Onclick run program and convert selected file (trickiest part)
-Save text to a variable (tricky part)
-Save variable content to a field in DB (easy enough)
Jul 8 '15 #6
Luuk
1,047 Expert 1GB
I see a lot 'trickiest part'

1) Break down your problem in to small parts (you've already done that)
2) Do not start to give the first task the status 'trickiest part', end the last 'easy enough'. You do not seem to have a clue how to solve the 'Onclick run program and convert selected file', so stop claiming that 'Save variable content to a field in DB ' is easy. It can be easy, but what help is this if you do not know how to do the earlier part?

What program did you find to convert the selected file?

Please share the code you have, someone reading this will give tips on how to proceed....
Jul 11 '15 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: jonathan.beckett | last post by:
Hi All, For the past few months I have been working on an open source Apache/PHP/MySQL content management system - and have recently made it available for download. It's still very much a...
0
by: jonathan.beckett | last post by:
Hi All, I have just made version 0.4.8 of the PluggedOut CMS Content Management System available for download - it's free, and covered by the GPL. It's still very much a work in progress...
0
by: Scott Abel | last post by:
For immediate release: The Rockley Group Content Management Workshop Series Coming to Atlanta, Seattle, Vancouver, Chicago, Washington, DC, Toronto, and Research Triangle Park Learn more:...
10
by: clintonG | last post by:
Can somebody direct me to documents or source that supports the use of collapsible content that is collapsed by default when the page is loaded? The secondary objective would of course be...
1
by: athirumurthi | last post by:
I have a WinINet communicating with an integration server (X-AspNet-Version: 1.1.4322) using form posts. One form post that includes jpeg content. However, the data received at the server is...
7
by: xkeops | last post by:
Thinking of creating a website, most of the pages will have a general toolbar menu, a content and a footer. The content will be the only one who's gonna change but the rest (header,footer) will...
0
by: Managed Code | last post by:
Hello All, Here is my issue and thanks in advance for any assistance. I have a base page with a dropdownlist that fires an event with the selected index. The content page catches the event and...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
0
by: gcwg | last post by:
Hi all, I am attempting to use the LWP::UserAgent to request a Soap call, and in the response the request returns a TIFF image. When I write the contents out to a file(binary mode), the file also...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.