Bonjour, je
vous explique mon problème.
J’ai
installé sur l’un de mes serveurs FCKeditor, tout fonctionne bien, j’arrive a éditer
une page distante jusque la pas de problèmes.
Mais quelqu’un
pourrait me dire comment faire pour que FC editor charge la page à l’ouverture
du prog.
J’ai essayé
avec la fonction include mais cela ne fonctionne pas ?
J’ai
indiqué d’un *** l’endroit qui pose problème, je vous remercie d’avance
Voici mes code :
<?php
include("FCKeditor/fckeditor.php")
;
?><html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252">
<title>Test</title>
</head>
<?php
include("UserFiles/pages.txt")
;
?>
<?php
if($question
1) {
?>
<form action="savedata.php"
method="post" target="_blank">
<?php
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->Width='78%';
$oFCKeditor->Height='50%';
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Value = '***';
$oFCKeditor->Create() ;
$oFCKeditor->Config['SkinPath'] = $sBasePath
. 'editor/skins/' . htmlspecialchars($_GET['Skin']) . '/' ;
?>
<?php
}
if($question
1) {
?><?php }?>
</form>
</html>