我已经在 Ubuntu 12.04 上安装了 Imagick 但仍然得到
未找到“Imagick”类
当我通过终端检查时
php-m
我明白了
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
imagick
json
libxml
mbstring
mhash
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
Run Code Online (Sandbox Code Playgroud)
但是当我通过 PHP 脚本检查加载的扩展时
get_loaded_extensions()
我没有想象力
Array
(
[0] => Core
[1] => date
[2] => ereg
[3] => libxml
[4] …Run Code Online (Sandbox Code Playgroud) 我想使用css属性"page-break-after"创建新页面.我已经按照Html2Pdf中的分页符给出了所有步骤但是出现了以下错误.

正如你所看到的......第二页从第一页开始结束开始..我希望第二页从顶部开始.
<?
/*
Template Name: View Form
*/
include_once(ABSPATH."connection/localhost.php");
include_once(ABSPATH."include/cls_forms.php");
include_once(ABSPATH."include/cls_fields.php");
//Authenticate("U");
$oFields = new Fields;
$oForm = new Forms;
$Title = $oForm->getFormTitleByID($_GET['form_id']);
$Content = $oForm->getFormContentByID($_GET['form_id']);
$isPleading = $oForm->getFormTypeByID($_GET['form_id']);
$FieldValues = $oForm->getUserFormFields($_SESSION['user_id'], $_GET['distinct_id']);
foreach($FieldValues as $Name => $Value)
{
$Content = str_replace("«".$Name."»", "<b>".$Value."</b>", $Content);
}
function filterMsWord($Content)
{
$Content = preg_replace("<([A-Za-z0-9\/]*):([A-Za-z0-9-\"=: ]*)>", "", $Content);
$Content = str_replace("<>", "", $Content);
return $Content;
}
if ($_GET['type'] == 'doc')
$Content = str_replace("[---pagebreak---]", '<br clear=all style="mso-special-character:line-break; page-break-before:always">', $Content);
elseif ($_GET['type'] == …Run Code Online (Sandbox Code Playgroud)