intégré l'upload fckeditor

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : intégré l'upload fckeditor

intégré l'upload fckeditor

par x@v » 19 mars 2007, 03:55

Bonjour,
j'ai intégré un wyswig pour php
http://www.fckeditor.net/
il fonctionne mais je n'arrive pas à uploader des images sur le serveur, j'ai suivi ce tuto en anglais, mais je ne comprend pas parfaitement l'anglais.
http://wiki.fckeditor.net/Developer%27s ... ration/PHP
j'ai fait ça s'en vraiment comprendre
// SECURITY: You must explicitelly enable this "uploader". 
$Config['Enabled'] = true ;

// Set if the file type must be considere in the target path. 
// Ex: /UserFiles/Image/ or /UserFiles/File/
$Config['UseFileType'] = false ;

// Path to uploaded files relative to the document root.
$Config['UserFilesPath'] = '/images/' ;

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/var/www/vhost/voxmundi.fr/home/html/images/' ;
et dans le deuxième fichier
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/images/' ;

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/var/www/vhost/voxmundi.fr/home/html/images/' ;
Je pense que les chemins doivent être en relation les fichiers config, mais comme j'en ai marre de tatonner sans résultat.
Merci