Hey guys(and girls),
Im running into a bit of a problem and cant seem to figure it out.
Ive just installed a fresh copy of fckeditor on my server and am trying to work things out.
I used the following code sample that i found in documentation and found that it works perfectely.
Only thing is, if i put that on a page, i just see the editor and dont see anything else!
im not using any cms or login and am just trying to have some sort of browser that people can choose files and edit.
<?php include_once("fckeditor/fckeditor.php") ; ?> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </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>
ive seen fckeditor used in a zencart install and am looking if this is possible without zencart. anyone can edit my files now if they just browsed to the proper url