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

Linux底下Apache啟動、停止、重啟指令

Linux底下Apache啟...

a5 如果apache安裝成為linux的服務的話,可以用以下命令操作: service httpd...

Android Studio 2.3 陽春型計算機

Android Studio...

andrio55 原本這次的學習課題是,與使用者互動之「按一下」事件處理。 我按照工具書上寫的,完成...

HTML5 影音手持裝置適應不良篇

HTML5 影音手持裝置適應...

這天下午跟客戶開完會... 客戶針對專案中手持裝置網站適應性做了需調整的說明..另外還包括影音檔播放...

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