Let's take a look at how to make fck display our uploaded images normally.
Let's take a look at how to make fck display our uploaded images normally.
<Div id = "wrapper">
<Form name = "form1" action = "<? = $ _ SERVER ["PHP_SELF"]?> "Method =" post ">
Title: <input type = "text" size = "20" name = "title"/> <br/>
<? Php
Include "fckeditor/fckeditor. php"; // contains files
$ Ofckeditor = new FCKeditor ("fckeditor1"); // create an instance
$ Ofckeditor-> BasePath = "./fckeditor/"; // set the FCK path
$ Ofckeditor-> ToolbarSet = "Default"; // you can specify the toolbar type of the editor.
$ Ofckeditor-> Width = "700px ";
$ Ofckeditor-> Height = "300px"; // you can specify the Height of the editor.
$ Ofckeditor-> Create (); // Create an editor
?>
<Br/>
<Input type = "submit" name = "submit" value = "submit"/>
</Form>
<Br/>
</Div>
<Div>
<? Php
Echo $ _ POST ["fckeditor1"];
?>
</Div>
The path is incorrect ..
Note your source code:
Let's look at your fck call address: fckeditor/fckeditor. php.
This indicates that your preview page and fck are not at the same level. In addition, the source code of the image uploaded by FCK should be a complete URL by default.
Your FCK seems to have changed.
Configure your fck.