0

如何把这个:

 WWW_ROOT."images".DS."uploaded_files".DS."research".DS. $pdfname;

在这里面

  exec("convert -scale  1500x1000 " . escapeshellarg(BASE_URL."app/webroot/images/uploaded_files/research/${dirname}/img%d_".$pdfname.".png"));

替换BASE_URL."app/webroot/images/uploaded_files/research/${dirname}/

4

1 回答 1

0

这有什么问题:

$path = WWW_ROOT."images".DS."uploaded_files".DS."research".DS. $pdfname.".png";
exec("convert -scale  1500x1000 " . escapeshellarg($path));

你试过吗?

于 2013-07-17T11:23:24.797 回答