Heim  >  Artikel  >  Backend-Entwicklung  >  fck图片不能显示问题_PHP教程

fck图片不能显示问题_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:52:391048Durchsuche

我们来看看一个关于如何让fck能正常显示我们上传的图片吧。

我们来看看一个关于如何让fck能正常显示我们上传的图片吧。


PHP_SELF"]?>" method="post">
标题:

include "fckeditor/fckeditor.php";    //包含文件
$ofckeditor = new FCKeditor("fckeditor1");  //创建实例
$ofckeditor->BasePath = "./fckeditor/";   //设置FCK的路径
$ofckeditor->ToolbarSet = "Default";    //设置编辑器工具栏类型
$ofckeditor->Width="700px";
$ofckeditor->Height = "300px";       //设置编辑器高度
$ofckeditor->Create();   //创建编辑器
?>








  echo $_POST["fckeditor1"];
?>

路径不对。。
注意你的源代码:
fck图片不能显示问题_PHP教程
再看你的调用fck地址为:fckeditor/fckeditor.php
说明你的预览页面和fck不在同级。再说,FCK默认上传图片源代码里都应该是完整URL。
你的FCK似乎改动过吧。

配置一下你的fck就OK了。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632467.htmlTechArticle我们来看看一个关于如何让fck能正常显示我们上传的图片吧。 我们来看看一个关于如何让fck能正常显示我们上传的图片吧。 div id=wrapper fo...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn