Loading...

使FCKeditor所上傳的圖檔檔名亂數化

Temperature: 0 °C

ChungChung
author_tools
編輯"../fckeditor/editor/filemanager/connectors/php/commands.php"

此檔.搜尋:

$sExtension = strtolower( $sExtension ) ;

在其下方新增:

$sFileName = date("Y-m-d").mt_rand().‛.‛.$sExtension;

存檔.
https://innstory.com/story-使FCKeditor所上傳的圖檔檔名亂數化-101

Prev
 PHP的日期加減運算

Next
我在檳城 

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

圖型插件Elastislide

圖型插件Elastislide

teach Elastislide是一款好用的圖形插件...http://...

ajax防止重複提交

ajax防止重複提交

會發生重提交的原因,大致上是因為考驗人與系統間的耐性~ AJAX(非同步的...

將照片加入簽名檔

將照片加入簽名檔

我始終相信,科技來自於人性... 而我的人性則是來自於墮性.... 開發...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format