English 中文(简体)
将pdf改为在网址上存档(注:残疾者
原标题:convert pdf to text file in php (note : shell_exec is disabled)

解决这一问题的最佳途径是使用“xpdf”一揽子计划中的“pdftotext”,但在所有共同的东道方,即“gogled shell_exec残疾”。 i 找到了仅使用“php”的替代性计量方法,例如称为“pdf2string(在)”的功能,但是这些功能中没有一个像预期的那样没有工作(有些pdf档案中,它们只是没有正确的产出文本,有些是其他的pdf,它们只是没有产出,而这一功能的某些其他版本只是把这一选择排除在外。 将这一公开来源(pdftotext)转换成一个网址的文字吗? (资料来源于C++i思考,可在以下网址查阅:) 任何其他解决办法将被接受,只要给我带来pdf文本产出(正确)。

最佳回答

Since you have a restricted environment, you may want to look at this. http://webcheatsheet.com/php/reading_clean_text_from_pdf.php

This uses no external library to parse pdf to text formats. However, since this parse text out of raw pdf format, i m not sure how stable it is.

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签