I am using PHP 5, and the FCKEditor is in ..../htdocs/fck/fckeditor directory.
All the upload settings are set and working with PHP.
<html>
....
<script type="text/javascript" src="http://localhost/fck/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function() {
var div = document.getElementById("editor");
var fck = new FCKeditor("fck");
fck.BasePath = "fckeditor/";
div.innerHTML = fck.CreateHtml()
};
</script>
...
</html>