PHP FCKeditor2.5 ½â¾öÉÏ´«Í¼Æ¬ÎÊÌâ
Ö÷Òª·ÖΪ3²½£º
µÚÒ»²½£ºÉèÖÃFCKeditor/fckconfig.js
1.
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php
2.
FCKConfig.ImageBrowser = false ;//¹Ø±Õ·þÎñÆ÷ä¯ÀÀ¹¦ÄÜ
µÚ¶þ²½£ºÉèÖÃÈý¸öconfig.php
1. FCKeditor/editor/filemanager/upload/config.php
$Config['Enabled'] = true ;//ÊÇ·ñÆôÓÃ
$Config['UserFilesPath'] = '/html/FCKeditor/upload/' ;//Ïà¶Ô¸ùĿ¼µÄ·¾¶
$Config['UserFilesAbsolutePath'] = 'F:\\AppServ\\www\\myreach\\wwwroot\\html\\FCKeditor\\upload\\' ;//¾ø¶Ô·¾¶
2. FCKeditor/editor/filemanager/browser/default/connectors/php/config.php
$Config['Enabled'] = true ;//ÊÇ·ñÆôÓÃ
$Config['UserFilesPath'] = '/html/FCKeditor/upload/' ;//Ïà¶Ô¸ùĿ¼µÄ·¾¶
$Config['UserFilesAbsolutePath'] = 'F:\\AppServ\\www\\myreach\\wwwroot\\html\\FCKeditor\\upload\\' ;//¾ø¶Ô·¾¶
3. FCKeditor/editor/filemanager/connectors/php/config.php
$Config['Enabled'] = true ;//ÊÇ·ñÆôÓÃ
$Config['UserFilesPath'] = '/html/FCKeditor/upload/' ;//Ïà¶Ô¸ùĿ¼µÄ·¾¶
$Config['UserFilesAbsolutePath'] = 'F:\\AppServ\\www\\myreach\\wwwroot\\html\\FCKeditor\\upload\\' ;//¾ø¶Ô·¾¶
µÚÈý²½£º½¨Á¢ÏàÓ¦µÄÎļþ¼Ð£¬²¢ÉèÖÃÊôÐÔΪ¿Éд
ºÃÁË£¬ÕâÑùÇ¿´óµÄÔÚÏßÉÏ´«¹¦ÄܾÍʵÏÖÁË£¬ÊDz»ÊǺܿáÄØ£¿
Ŷ¶ÔÁË£¬×îºó±ðÍüÁË£¬ÕÒµ½FCKeditor/editor/filemanager/dialog/fck_image/fck_image_preview.htmlÀïÃæ°ÑÀïÃæÄÇÒ»´ó¶ÎEÎÄɾµôŶ
Ïà¹ØÎĵµ£º
PHPÈ¡µÃ³É¹¦µÄÒ»¸öÖ÷ÒªÔÒòÖ®Ò»ÊÇËýÓµÓдóÁ¿µÄ¿ÉÓÃÀ©Õ¹¡£web¿ª·¢ÕßÎÞÂÛÓкÎÖÖÐèÇó£¬ÕâÖÖÐèÇó×îÓпÉÄÜÔÚPHP·¢ÐаüÀïÕÒµ½¡£PHP·¢Ðаü°üÀ¨Ö§³Ö¸÷ÖÖÊý¾Ý¿â£¬Í¼ÐÎÎļþ¸ñʽ£¬Ñ¹Ëõ£¬XML¼¼ÊõÀ©Õ¹ÔÚÄÚµÄÐí¶àÀ©Õ¹¡£
¡¡¡¡À©Õ¹APIµÄÒýÈëʹPHPÈ¡µÃÁ˾޴óµÄ½øÕ¹£¬À©Õ¹API»úÖÆʹPHP¿ª·¢ÉçÇøºÜÈÝÒ׵Ŀª·¢³ö¼¸Ê®ÖÖÀ©Õ¹¡£¡£À©Õ¹Ö÷ÒªµÄ˼ÏëÊÇ ......
apache:
Èç¹û²ÉÓÃRPM°ü°²×°£¬°²×°Â·¾¶Ó¦ÔÚ /etc/httpdĿ¼ÏÂ
apacheÅäÖÃÎļþ:/etc/httpd/conf/httpd.conf
ApacheÄ£¿é·¾¶£º/usr/sbin/apachectl
webĿ¼:/var/www/html
Èç¹û²ÉÓÃÔ´´úÂë°²×°£¬Ò»°ãĬÈÏ°²×°ÔÚ/usr/local/apache2Ŀ¼ÏÂ
php:
Èç¹û²ÉÓÃRPM°ü°²×°£¬°²×°Â·¾¶Ó¦ÔÚ /etc/Ŀ¼ÏÂ
phpµÄÅäÖÃÎļþ:/etc/php.ini
......
³ÌÐò´úÂë
<!--p
if(isset($_POST['md5'])){ //ÅжÏ$md5ÊÇ·ñÒÑÉèÖã¬Èç¹ûÉèÖÃÁËÔòÖ´ÐÐÒÔÏ´úÂë¡£
if(!is_numeric($_POST['time'])){ //Èç¹ûû»ñÈ¡µ½timeµÄÖµÔò½«timeµÄÖµÉèÖÃΪ30
$_POST['time'] = 30;
}
set_time_limit($_P ......
Apache °æ±¾£º 2.2
PHP °æ±¾£º5.2.11
EclipseÏÂÔصØÖ·£ºhttp://downloads.zend.com/pdt/all-in-one/zend-eclipse-php-galileo-SR1-win32-x86.zip
½âѹºóÔËÐÐEclipse.exe
Ñ¡Ôñ¹¤×÷¿Õ¼ä
ÎÒÑ¡ÔñÁËE:\PHPworkspace
ÕâʱҪ²åÈëÒ»²½
´ò¿ªApacheµÄÅäÖÃÎļþhttpd.conf
²éÕÒ”DocumentRoot“
ÐÞ¸ÄdocumentrootµÄÖ ......