0

Possible Duplicate:
How to extract text from the PDF document?

im a newbie to php. I am working on file. Thing is, I know the way to upload pdf file and also have a code to convert it to text.

The thing is i want to link them i.e., when i upload a pdf file it should take the file uploaded as input and generate corresponding converted text file. can any one explain the way or provide any useful links for this problem

Community
  • 1
  • 1
sri bharath
  • 93
  • 3
  • 8

2 Answers2

2

Theres a free script here for that if interested.

PHP Extract from PDF

soniccool
  • 5,790
  • 22
  • 60
  • 98
0

The site http://php.net/

should be your friend. Like I understand you need to create a file with text content. The easiest function for this task is file_put_contents. Also look at the other file functions. http://php.net/manual/de/function.file-put-contents.php

bitWorking
  • 12,485
  • 1
  • 32
  • 38
  • This is totally irrelevant to OP's request. It's almost a spam comment. file_put_contents saves a file. Has nothing to do with PDF files. – sgtcoder Jan 23 '18 at 19:19