Hi guys,
new to the fckeditor here. i'm not sure if this has already been discussed but if it had i couldn't find any using the search tool.
anyway, i'm trying to use fckeditor for the homepage of my site, so i use:
$content = file_get_contents("index.php");
to load my index page's contents. i originally set up the index.php page using a simple text editor using images and also a .swf file. however, when i load this using the above code, fckeditor would only display the texts within the page and not the images.
i tried adding an image to the page using the editor and it works fine. but when i save the page then the original index.php file is replaced with the new one -the one without the images-.
do my images need to be within the userfiles directory to be displayed? if so then it would really inconvenient because then i'd need to move all the images and everything.
any help would be much appreciated
thanks