最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
新浪编辑器使用方法
时间:2010-08-21 编辑:简简单单 来源:一聚教程网
header('content-type:text/html;charset=utf-8;');
include_once('sinaeditor.class.php教程');
/*********************************************************************************/
//这里判断表单提交动作,然后赋值给$content;
if($_get['act']=='subok') die(htmlspecialchars($content=$_post['gently_editor']));
/*********************************************************************************/
$editor=new sinaeditor('gently_editor');
$editor->value='新浪博客编辑器php图片上传版!
';
$editor->basepath='.';
$editor->;
$editor->;
$editor->autosave=false;
?>
class sinaeditor{
var $basepath;
var $width;
var $height;
var $ename;
var $value;
var $autosave;
function sinaeditor($ename){
$this->ename=$ename;
$this->basepath='.';
$this->autosave=false;
$this->;
$this->;
}
function __construct($ename){
$this->sinaeditor($ename);
}
function create(){
$readcookie=$this->autosave?1:0;
print <<
eot;
}
}
?>
-
上一个: js 验证浮点型正则表达式
-
下一个: js 获取页面url参数
相关文章
- 新浪编辑器的调用 07-25
- HTML简单购物数量小程序代码展示 10-31
- html canvas实现弹幕功能 10-31
- HTML中空格表示的意义 10-31
- html area标签解读 10-31
- html使用表单标签实现注册页面代码展示 10-31