易截截图软件、单文件、免安装、纯绿色、仅160KB

Ewebeditor编辑器嵌入到PHP网页中

/*
>>>  Title    : Ewebeditor编辑器嵌入到PHP网页中
>>> Author: 刘晨晖 
>>> Date   : 2009-07-05
>>> EMAIL :
huichengongzi@gmail.com
>>> 转载请注明出处,谢谢合作!
*/
(1)在
</head>
之前加上下面一段代码:(得到
ewebeditor
中编辑的内容)
<script>
function checkForm()
{
      
      
document.form1.content
.value
= window.ewebeditor
.getHTML(); 
             
************getHTML()  
获得编辑区内容
 
      
   
************
此处的名字
ewebeditor
要与
iframe
中的
name="ewebeditor"
相同
             
************content.value
也要与
content
中的
<input >
中相对应
}
</script>
(2)下面一段代码是把
ewebeditor
嵌入到网页中:
      
<tr>
      
<td
align="right" width="5%" >
内容:
</td>
      
<td
width="95%">
             
<input
type="hidden" name="content"
id="content"
value
="">      
                    
**********id="content"
中的
content
要与
<iframe>
中的
id=content
相同!
   
      
<iframe id="ewebeditor" name="ewebeditor"
src="ewebeditor/ewebeditor.php?id=content
" frameborder="0"
scrolling="no" width="100%"


相关文档:

本地PHP连接远程服务器

    之前一直都是在服务器调试程序,有一天想弄到本地来,可死活就是连不上远程服务器了。
    本地:windows+apache。
    远程服务器:windows+ms sql 2008.
   php和apache该配置的都配了,其他程序也可以运行,可就是连不上数据库。
   苦苦寻觅 ......

PHP程序61条面向对象分析设计的经验原则 (转)

 
你不必严格遵守这些原则,违背它们也不会被处以宗教刑罚。但你应当把这些原则看成警铃,若违背了其中的一条,那么警铃就会响起 。 ----- Arthur J.Riel
 
(1)所有数据都应该隐藏在所在的类的内部。
 
(2)类的使用者必须依赖类的共有接口,但类不能依赖它的使用者。
 
(3)尽量减少类的协议中的 ......

使用Flex和PHP创建自己的视频应用


来源:蓝色理想 作者:Dreamer 2007年10月16日 14:50 网友评论:0条 点击:
2737
Dreamer的Blog:www.zhuoqun.net/
英文原文:Creating MyTube with Flex and PHP
原文地址:
http://www.onlamp.com/pub/a/php/2007/05/24/creating-mytube-with-flex-and-php.html
原文作者:Jack Herrington
随着宽带的普及、 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号