I recently downloaded the fckeditor and i installed on my computer.
Now I want to test it to make sure is works, what I did I is put copied the sample code from fckeditor code paste over on my php or html editor and run & test it, but i'm getting error on the top of half page said "the page cannot be found " what did i missed in the code! please see sample code on the bottom.
Please help thanks.
<?php include_once("fckeditor/fckeditor.php") ; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form action="sampleposteddata.php" method="post" target="_blank"> <?php $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; $oFCKeditor->Create() ; ?> <br> <input type="submit" value="Submit"> </form> </body> </html>