FCKeditor µÄÅäÖúÍʹÓ÷½·¨(for PHP)
FCKeditor ÊÇÒ»¸öÊ®·ÖÇ¿´óµÄÍøÒ³Îı¾±à¼Æ÷£¬ËüÖ§³Ö¶àÖֽű¾±à³ÌÓïÑÔ(°üÀ¨ PHP)ºÍÖ§³Ö¶à¹úÓïÑÔ¡£
FCKeditor ½ØÖÁ 2008Äê4ÔÂ6ÈÕ£¬Æä×îа汾ÊÇ 2.6RC£¬RC ¾ÍÊÇ Release Candidate£¬ÐÞ¶©ºóµÄºòÑ¡°æ±¾£¬ºÜ¿ÉÄÜ×÷Ϊ¸Ã°æ±¾µÄÎȶ¨°æÔÚδÀ´·¢²¼¡£Ä¿Ç°µÄ×îеÄÎȶ¨°æ(Latest Stable)ÊÇ 2.5.1¡£ÎÒÃÇ¿ÉÒÔµ½ËûµÄ¹Ù·½ÍøÕ¾ÉÏÈ¥ÏÂÔØ http://www.FCKeditor.net ºÏÊʵİ汾£¬¿ªÔ´¡¢Ãâ·ÑµÄ¡£
±¾ÎĽéÉÜ PHP ÖеÄÅäÖ÷½·¨£¬ÆäËûÓïÑÔµÄÅäÖ÷½·¨ºÍËüÊÇ»ù±¾Ò»ÑùµÄ¡£
〇¡¢¼ÙÉèÍøÕ¾µÄĿ¼Ϊ£º
\website_root
\index.php
\FCKeditor
Ò»¡¢µ÷ÓÃFCKeditor µÄÁ½ÖÖ·½·¨
1¡¢Í¨¹ý´´½¨ÊµÀýÀ´µ÷ÓÃ
ÔÚ index.php ÎļþÖУ¬µ÷ÓÃËüµÄ´úÂ룬°ÑÏÂÃæµÄ´úÂë¼ÓÔÚÐèÒª±à¼Æ÷µÄµØ·½£º
<Form name="frm1">
<?php
//ÒýÓÃFCKeditor.phpÕâ¸öÎļþ£¬»ù±¾µÄÀàºÍÊý¾Ý½á¹¹¶¼ÔÚÕâÀï
include_once("FCKeditor/fckeditor.php");
//´´½¨FCKeditor¶ÔÏóµÄʵÀý¡£myFCKeditor¼´Ìá½»ºó£¬½ÓÊÕÊý¾ÝÒ³Ãæ $_POST['myFCKeditor']ʹÓÃ
$FCKeditor=new FCKeditor('myFCKeditor');
//FCKeditorËùÔÚµÄλÖã¬ÕâÀïËüµÄλÖþÍÊÇ'FCKeditor' Îļþ¼Ð
$FCKeditor->BasePath='./FCKeditor/';
//¹¤¾ß°´Å¥ÉèÖÃ
$FCkeditor->ToolbarSet='Default';
//ÉèÖÃËüµÄ¿í¶È
$FCKeditor->Width='100%';
//ÉèÖÃËüµÄ¸ß¶È
$FCKeditor->Height='300px';
//Éú³É
&
Ïà¹ØÎĵµ£º
<?php
//¶¨ÒåÒ»¸öÊý×é
$arr = array(0=>"zero", 1=>"one", 2=>"two");
//ʹÓõÚÒ»ÖÖ·½·¨¶ÔÊý×é½øÐбéÀú
foreach ($arr as $value) {
echo "Value: $value; ";
}
echo "<BR>";&nb ......
ob_start();
echo "<pre>";
print_r($content);
echo "</pre>";
$a=ob_get_contents();
$filename = $_SERVER['DOCUMENT_ROOT']."/log-".date("Y-m-d").".txt";
$file = fopen($filename, "a");
$tipmsg = "\r\n******Final File: "
//.end(explode('/',$_SERVER['PHP_SELF']))
.$_SERV ......
×÷ÕߣºPh4nt0m Security Team
À´Ô´£ºhttp://www.ph4nt0m.org-a.googlepages.com/PSTZine_0x03_0x06.txt
==Ph4nt0m Security Team==
Issue 0x03, Phile #0x06 of 0x07
|=---------------------------------------- ......
<?php
function vCode($num=4,$size=20, $width=0,$height=0){
!$width && $width = $num*$size*4/5+5;
!$height && $height = $size + 10;
// È¥µôÁË 0 1 O l µÈ
$str = "23456789abcdefghijkmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVW";
$code ......
¡¡¡¡´Ó PHP 3 ¿ªÊ¼Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize£¬Ëü¿ÉÒÔ·½±ãµÄ±£´æÊý¾Ý·½±ãµÄ×ö³ÉCACHE£¬¶ø´æ´¢Ìå»ýÒ²±ÈXMLҪСµÄ¶à£¬Ëü½á¹¹Óë JS µÄ JSON ÏàÄâ£¬ÍøÉÏÓÐÒ»×éÓà JS Ä£Äâ serialize ʵÏֵķ½·¨£¬Ê¹ÓÃËü¿ÉÒÔºÍPHP ÔÚÊý¾Ý´«µÝÉϸü½ôÃܵĽáºÏ£®
¡¡¡¡JavaScript °æ±¾£¨stable£©£ ......