English 中文(简体)
每个用户在锡里卡马塞特的IBrowser拥有图像夹
原标题:Each user having own image folder in iBrowser for TinyMCE

我使用iBrowser将图像上载到锡里卡马塞特编辑。 它利用电灯-conf灯,在存储图像时架设夹。 我想把它与我的网站结合起来,这个网站有许多用户。 如何确定每个用户的不同组合? 我有我的用户身份证储存在美元用户中。 Id Value in my PHP script that emits the TinyMCE Editor.

最佳回答

你们不应为每个用户创造不同的倍数,而应让购买力平价管理。 你们可以/应该把图像储存在1个夹中,将其保存到MySQL数据库,该数据库是用户。 然后,当TinyMCE要求图像时,如果用户拥有这种形象,如果是这样,那么就应当对图像进行检查。

图像清单:外部_image_list_url”rel=“nofollow” http://www.tinymce.com/wiki.php/Configuration:external_image_list_url"rel=http://www.tinymce.com/wiki.php/Configuration:external_image_list_url iii

这样,你就可以完全控制图像,而且更加安全。

edit: Got是你如何用购买力平价编制清单的一个实例:

header("Content-type: text/javascript");
$js =  var tinyMCEImageList = new Array( ;
$images = array( image1  =>  http://www.example.com/image1.jpg ,  image2  =>  http://www.example.com/image2.jpg );
foreach ($images as $name => $url) {
    $js .=  [" .$name. ", " .$url. "], ;
}
$js = rtrim($js,  , ). ); ;
echo $js;

这一产出文件应作为Java文本列入网站。

<script type="text/javascript" src="PATH TO PHP FILE WITH LIST" />
问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签