瀏覽模式: 普通 | 列表

Simple Filelist 簡易檔案列表

用於當 Apache 的 Options Indexes 功能被關閉時能使用 php 程式展現 index 的狀態

ref: http://blog.vixual.net/2005/11/simple-filelist.html

下載檔案SimpleFilelist_09.zip (1.97 KB , 下載:53次)
下載檔案SimpleFilelist_11.zip (3.06 KB , 下載:80次)

更新 phpBB to 2.0.22

[1.] 更新檔案

       下載 phpBB-2.0.22-patch.zip

        執行 

           patch -cl -d /var/www/html/phpbb/ -p1 < /root/phpBB-2.0.22-patch/phpBB-2.0.19_to_2.0.22.patch

patching file admin/admin_board.php
patching file admin/admin_db_utilities.php
patching file admin/admin_forums.php
patching file admin/admin_groups.php
patching file admin/admin_ranks.php
patching file admin/admin_smilies.php
patching file admin/admin_styles.php
patching file admin/admin_users.php
patching file admin/admin_words.php
patching file admin/page_header_admin.php
patching file admin/pagestart.php
patching file common.php
patching file db/mssql.php
patching file groupcp.php
patching file includes/auth.php

[閱讀全文]

WorldLingo 免費線上與專業翻譯

ref: http://www.worldlingo.com/zh_tw/products_services/computer_translation.html

不過看到了這個,真可惜

 註: 免費翻譯器僅限 150 個單詞。
按此處獲取無限制的翻譯 

PHP 修改 Linux 系統密碼

ref: http://www.real-blog.com/linux-bsd-notes/347


visudo

apache ALL=NOPASSWD:/usr/bin/passwd [A-z]*, !/usr/bin/passwd root

xxx.php

<?php
   shell_exec("/bin/echo 'pass' | /usr/bin/sudo /usr/bin/passwd --stdin user");
?>

超強的JavaScript

ref: http://blog.3cbank.com/?p=1740

只要在連結放上這行

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

呵呵,我也來惡搞 KUso

attachments/200704/8129324842.jpg



哇!露出痕跡,忘記拿掉框線@@,算了! 呵

f2blog + 發表文章時標題不可加單引號

當前Blog程式版本:   F2Blog v1.0 build 08.20
在發表、或編輯文章時,有語法錯誤

Parse error: parse error, unexpected T_STRING, expecting ')' in /var/www/html/f2blog/cache/cache_autosave.php on line 6

原來是之前的文章發表,在標題上加了"'"單引號,
到 cache_autosave.php把單引號拿掉就 ok了

線上影片網址解析器

Quote: http://www.chweng.idv.tw/getvideo/

目前支援的網站類型

  1. YouTube - http://www.youtube.com/
  2. Google Video - http://video.google.com/
  3. 天空部落 - http://mymedia.yam.com/
  4. 無名小站 - http://www.wretch.cc/(測試中)
  5. 優仕網共產檔 - http://share.youthwant.com.tw/
  6. Stage6 - http://stage6.divx.com/

到最熱門的 youtube開個影片,然後複製 URL,貼到 http://www.chweng.idv.tw/getvideo/
的直接分析裡,按送出查詢,之後會跳出一下載視窗,
不過它並沒有副檔名存檔,用 media player classic是可以播啦