/**
 * Title:˲ͱ༭PHPװ
 * coder:gently
 * Date:2007119
 * Power by ZendStudio.Net
 * http://www.zendstudio.net/ԭ
 * http://www.codefans.net/|2008922
 * ʹúʹ뱣Ϣ
 *
 */
_________________________________________________________

θ£

˱༭PHP5ʱ⣻
ԭͼƬϴ500KΪ800K
һЩС⣻

_________________________________________________________

ʵϣindex.PHPһʾʵܼ򵥣ʾ˵ĺϸĶ롣һ£

һࣺinclude_once('sinaEditor.class.php');

ڶ¶$editor=new sinaEditor('gently_editor');


$editor->Value='<img src="../logo.gif"><h2>˲ͱ༭FOR PHP</h2>';//༭ĳʼֵ޸µʱõ
$editor->BasePath='.';//༭·
$editor->Height=500;//༭߶
$editor->Width=650;//༭
$editor->AutoSave=false;//ǷԶ


һҪֱ༭ĵطã

<?php
	$editor->Create();
?>

˵һ£

༭Ǿ˴Ĵ룬Ҳ滻HTMLǩʱҪתindex.phpе䣺
$act=='subok' && die("ύǣ<br>".htmlspecialchars($gently_editor));
Ϊ
$act=='subok' && die("ύǣ<br>".$gently_editor);
ͿˣҲȥhtmlspecialchars()


   
                Դ                   
   ǩ
                                             
              ṩԴ뷢             
                                             
           http://www.codefans.net           
                                             
                             
   