kcfinder图像上传弹出窗口显示直接php内容
我在我的Yii站点中使用了kcfinder 单击图像上载按钮时,会打开以下弹出窗口 在这里,当点击“浏览服务器”按钮时,弹出窗口打开,但它显示了php代码。 传递的url为::kcfinder图像上传弹出窗口显示直接php内容,php,image,yii,upload,kcfinder,Php,Image,Yii,Upload,Kcfinder,我在我的Yii站点中使用了kcfinder 单击图像上载按钮时,会打开以下弹出窗口 在这里,当点击“浏览服务器”按钮时,弹出窗口打开,但它显示了php代码。 传递的url为:: 它显示直接php内容,而不是图像上载屏幕 <?php /** This file is part of KCFinder project * * @desc Browser calling script
它显示直接php内容,而不是图像上载屏幕
<?php
/** This file is part of KCFinder project
*
* @desc Browser calling script
* @package KCFinder
* @version 3.10
* @author Pavel Tzonkov <sunhater@sunhater.com>
* @copyright 2010-2014 KCFinder Project
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
* @license http://opensource.org/licenses/LGPL-3.0 LGPLv3
* @link http://kcfinder.sunhater.com
*/
require "core/bootstrap.php";
$browser = "kcfinder\\browser"; // To execute core/bootstrap.php on older
$browser = new $browser(); // PHP versions (even PHP 4)
$browser->action();
?>
我不知道为什么。它在我的本地wamp服务器上运行良好。请帮帮我 如果您的服务器上未安装PHP或未在虚拟主机中配置PHP,则可能发生在中。如果您的服务器上未安装PHP或未在虚拟主机中配置PHP,则可能发生在中。我也有此问题。 删除KCFinder文件夹中的.htaccess文件我也有这个问题。
删除KCFinder文件夹中的.htaccess文件
我在我的Yii站点中使用了KCFinder
我想OP早就注意到了,因为他使用的是PHP框架我在我的Yii站点中使用了KCFinder
我想OP早就注意到了,因为他使用的是PHP框架