I am using the wysiwyg editor in a web application. This is FCKeditor. To edit the file besides loading javascript, my web form editing the file is as follows:
<textarea><?php include('myWebDoc.html') ?></textarea>
I also tried this:
<textarea><?php file_get_contents('myWebDoc.html') ?></textarea>
Both attempts complete php analysis inside the web document before it gets to the editor.
Is there a better php function or a way to get the contents of a file in a textarea tag indiscriminately?
source
share