新浪开发平台应用storage和ueditor
来源:互联网 发布:淘宝网广西金源马蹄粉 编辑:程序博客网 时间:2024/06/07 17:16
<!DOCTYPE HTML><html><head> <title>统计</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script> <script type="text/javascript" charset="utf-8" src="ueditor.all.min.js"> </script> <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js"></script></head><body><h1 style="color:red;margin:0 auto;text-align: center;">计算机1001班统计信息</h1><form action="do.php" method="post" name="content"><script id="editor" type="text/plain" style="width:98%;height:500px;"><?php $s = new SaeStorage();if($s->fileExists('public' , '123.txt')){echo $s->read('public','123.txt');}//echo file_get_contents("./123.txt"); ?></script><input type="submit" name="submit" style="width: 100%;line-height: 38px;text-align: center;font-weight: bold;text-shadow:1px 1px 1px #333;border-radius: 5px;margin:0 auto;overflow: hidden;color: #000;text-shadow:1px 1px 1px #fff;border:1px solid #dce1e6;box-shadow: 0 1px 2px #fff inset,0 -1px 0 #a8abae inset;background: -webkit-linear-gradient(top,#f2f3f7,#e4e8ec);background: -moz-linear-gradient(top,#f2f3f7,#e4e8ec);background: linear-gradient(top,#f2f3f7,#e4e8ec);" value="保存修改"></form><script type="text/javascript">//实例化编辑器//建议使用工厂方法getEditor创建和引用编辑器实例,如果在某个闭包下引用该编辑器,直接调用UE.getEditor('editor')就能拿到相关的实例UE.getEditor('editor');</script></body></html>
<?phpif(isset($_POST['editorValue'])){//file_put_contents("./123.txt",$_POST['editorValue']);$s = new SaeStorage();if($s->fileExists('public' , '123.txt'))$s->delete( 'public' , '123.txt');$s->write( 'public' , '123.txt',$_POST['editorValue']);header("Location: http://jisuanji1001.sinaapp.com/");//echo htmlspecialchars($_POST['editorValue']);}else{echo "error";}?>
0 0
- 新浪开发平台应用storage和ueditor
- 新浪云计算平台应用开发
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用基础
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用基础
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用——进一步学习的走向和有用的资源
- 新浪微博开发平台接入流程(1)---注册应用
- 新浪开发平台实现分享
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用——建立微博应用的过程
- PHP+新浪微博开放平台+新浪云平台(SAE)开发微博应用——建立微博应用的过程
- UEditor兼容新浪sae
- 新浪微博开放平台站内应用开发流程直播(一)
- 新浪微博开放平台站内应用开发流程直播(二)
- 新浪微博开放平台站内应用开发流程直播(三)
- 新浪微博开放平台站内应用开发流程直播(四)
- 新浪微博开放平台站内应用开发流程直播(五)
- 如何在新浪的开发平台上申请自己的应用
- 创建新浪云计算平台应用
- python不是内部命令或外部命令,也不是可执行程序解决方案
- -----------------委托的使用场合 (使用方式)----------------
- 南阳 686 An Interesting Sequence
- APIO2008免费道路 Bsoj2714 并查集+两次最小生成树
- 落水飞天java算法大全
- 新浪开发平台应用storage和ueditor
- 爱摘苹果的小明
- 委托和事件
- code strike round 1 B
- xe5-xe6 安装容易失败和耗时总结
- windows平台Emacs单实例原理、设置及右键菜单的添加
- spring基础学习-简单实例(一)
- 用注解方式搭建ssh,实现零配置
- Square