求编辑器的保存远程附件功能实现方法!
<p ><strong>longjianghu</strong> 发表于 2009-8-7 13:57</p>
<h3>求编辑器的保存远程附件功能实现方法!</h3>求编辑器的保存远程附件功能实现方法!<p ><strong>longjianghu</strong> 发表于 2009-9-10 14:57</p>
有没有人解答一下啊?:D<p ><strong>wuleying</strong> 发表于 2009-9-10 16:42</p>
最基本的实现; 其实思路大致一样. 抓取->保存本地
<?php
$url = 'http://www.google.cn/intl/zh-CN/images/logo_cn.gif';
$file = file_get_contents($url);
file_put_contents(basename($url), $file);
?>
<p ><strong>honghu3000</strong> 发表于 2009-9-10 16:59</p>
最新版的ewebeditor就带这功能,不过好像需要买个授权,很便宜的<p ><strong>enjoyd</strong> 发表于 2009-9-11 15:31</p>
你什么编辑器?FCK的网上有下载的.<p ><strong>bluewjzhhr</strong> 发表于 2009-9-14 11:51</p>
fckeditor的插件多的是,无论你用什么版本都有相应的插件 的。
自己找找吧。<p ><strong>HmilyHeart</strong> 发表于 2009-9-14 13:20</p>
用正则获取从内容中获取附件地址,然后循环Download.<p ><strong>CentOS</strong> 发表于 2009-9-14 14:46</p>
参考银子的方法,自己写个插件就完事了<p ><strong>longjianghu</strong> 发表于 2009-9-15 21:38</p>
谢谢银子我问的是原理并不是要现成的东东。:D
页:
[1]