【发布时间】:2013-05-01 13:33:25
【问题描述】:
我将 gif 上传到我的网站。什么时候上传完成,我可以看到这个错误:
Warning: exec() has been disabled for security reasons in /data/web/virtuals/28995/virtual/www/include/functions/main.php on line 306
Fatal error: Call to undefined function execute() in /data/web/virtuals/28995/virtual/www/include/functions/main.php on line 309
这是 main.php 的一部分
$owh = $width_old."x".$height_old;
$nwh = $final_width."x".$final_height;
if(!file_exists($temppic))
{
$runinbg = "convert ".$file." -coalesce ".$temppic;
$runconvert = execute("$runinbg");
}
$runinbg = "convert -size ".$owh." ".$temppic." -resize ".$nwh." ".$output;
$runconvert = execute("$runinbg");
return true;
感谢您的帮助! :-)
【问题讨论】:
标签: php fatal-error