Joe Horn 的啟示錄
Joe Horn's Blog
  • LinkedIn
  • Facebook
  • Instagram
  • GitHub
  • Docker Hub
RSS
  • VPS Referrals
  • My Plurk
  • My Plurk Bot

9 月 12 2005

暫時退回來用 PHP4 …

繼昨天在 這篇 提到的問題之後.

我發現 phpBB 也有相同的問題, 而且還不只一個檔案爛掉…
( 是爛一團…. :neutral: )

去官方的論壇找, 也是哀鴻遍野… orz
而官方的回答一律都是 “請改用 PHP 4” .

因為爛掉的檔案太多, 牽連範圍太大…
所以我把部分機器的 PHP 都降回來 4.4.0 了… orz

看來 phpBB 要在 PHP5 上面跑的話, 可能得等 3 系列囉!? O_o

By Joe Horn • WWW 1 • Tags: PHP

9 月 11 2005

WordPress 在 PHP 5.0.5 下可能會出現的問題

剛剛 Solaris 叔叔 跟我說他的 Blog 消失了.

找了一下問題之後發現這串 log :

[Sun Sep 11 19:40:49 2005] [error] [client 59.104.45.15] PHP Fatal error: Only variables can be passed by reference in ###/wp-includes/gettext.php on line 66

我針對這段作了小修改 , 原先的這段 code :

return array_shift(unpack("V", $this->STREAM->read(4)));

改成這樣就恢復正常了 :

$read_int_tmp = unpack("V", $this->STREAM->read(4));
return array_shift($read_int_tmp);

因為昨天晚上我把 PHP 從 5.0.4 升級到 5.0.5 , 所以這應該是 5.0.5 才會遇到的問題吧!? :shock:

更詭異的是, 我這邊跟 R 董那邊 都沒發生這個問題.
( 所以應該說是 Solaris 叔叔 帶賽? XD )

By Joe Horn • WordPress 5 • Tags: PHP, WordPress

8 月 19 2005

台灣特有的 Show Girl !

手拿青蔥的 Show Girl
這張圖片是昨晚在 這篇 看到的.

會用這種促銷方式跟之前的颱風與大雨導致蔬菜漲價一定有關係.
不過, 大家看在國內外展覽都可以看到 show girl 手上拿筆記型電腦, 拿手機, 拿各類產品, 這種拿蔥的一定是前所未見吧!? :-D

我覺得這種 show girl 大概跟檳榔西施一樣, 都屬於台灣特有種 … XD

By Joe Horn • Funny 2 • Tags: show girl

8 月 17 2005

升級 WordPress 1.5.2

剛剛在 Dashboard 看到 這個消息 , 所以把我這邊從 1.5.1.3 升到 1.5.2 .
( 當然, Solaris 叔叔 跟 R 董 的也被我順手升級了… :-P )

因為我很懶, 所以都是抓最新版的整個覆蓋上去.
而某些 plugin 會修改到原始檔, 我都有變動過的都會留一份 diff file , 所以只要覆蓋完後 patch 一下就好了.

在做 diff 檔 patch 時, 我發現之前在 這篇 講到的那個修正還是得再作一次.
另外, 在 這篇 提到的問題可能也還是存在.
( 因為這兩個問題的 diff file 都 patch success )

目前看來好像都沒問題, 有問題再說吧. XD

By Joe Horn • About My Sites 1 • Tags: WordPress

8 月 14 2005

解決檔案無法刪除的軟體 – Unlocker

相信很多人都遇過這種情況, 想要在 Windows 上面刪除檔案, 可是卻跳出類似這樣的視窗:

通常遇到這種情況, 大多數的建議都是重新開機後再進行刪除, 而這個方法也適用於大多數狀況.

不過前陣子我用重開機後刪除的方式卻失敗了, 不管重開幾次都沒辦法刪, 所以就找到了 Unlocker 這個免費軟體.

軟體官方網頁 在這 .
您可以到 這個頁面 下載後安裝.

以後遇到刪除不了的檔案請對檔案點選滑鼠右鍵, 像這樣 :

選取 Unlocker 選項後會跳出類似這樣的視窗 :

在大多數情況下, 點選 全部解鎖 就可以解決.
如果還不行的話就得考慮 終止程序 了. :-O

我用這套軟體後發現我原本重新開機也不能砍的檔案是因為被 explorer ( 也就是 Windows 的 UI ) 鎖死, 而且還無法解鎖.
於是我先開啟工作管理員, 然後砍掉 explorer 的程序 ( 當然, 工作列也不見了 ) .
刪掉檔案以後再用工作管理員的 檔案 -> 執行 來叫回我的 explorer ( 工作列 ) .

感覺這套軟體還不錯用, 而且短小精幹. 8-)

By Joe Horn • Computer Software 17 • Tags: Unlocker

7 月 27 2005

Windows 關機加速程式.

微軟 官方發佈的, 僅適用於這些作業系統 :

  • Windows Server 2003
  • Windows XP
  • Windows 2000
  • Windows NT 4.0

( 好像都是 NT kernel !? :shock: )

繁體中文版的說明網頁 在此 .

徵狀
當您登出執行 Microsoft Windows Server 2003、Windows XP、Windows 2000 或 Windows NT 4.0 的電腦時,可能會遇到下列一或多個徵狀:
• 無法卸載使用者設定檔。
• 無法調解漫遊設定檔。
• 達到登錄大小限制 (RSL,Registry Size Limit)。
• 登出時花了很長的時間,而且收到下列訊息:
正在儲存設定…。

( 普遍最常出現的狀況好像是最後一個. orz )

下載網頁 在此 .
我自己有 mirror 一份, 可以 點此下載 .

By Joe Horn • Windows 1 • Tags: shutdown, UPHClean, Windows

7 月 24 2005

F1 排位賽制大公投

活動網頁 在此 .

2006 年的 F1 排位賽將不再由 FIA 決定, 改為車迷大公投, 官方提出了兩個方案.

方案 1 :

  • 時間一小時, 分為兩個各 25 分鐘的區段, 中間有 10 分鐘的休息時間.
  • 車手自由開跑, 圈數無限制, 但必須於兩個區段都做出時間.
  • 將兩個區段的車手最佳時間加總, 以總時間進行排位.
  • 無載油限制, 可於任何時間進 pit 加油.

方案 2 :

  • 時間一小時.
  • 第一區段, 15 分鐘, 跑完後淘汰最慢的 5 輛車, 這 5 輛車分別排位於 16 到 20 順位.
  • 第二區段, 15 分鐘, 跑完後淘汰最慢的 5 輛車, 這 5 輛車分別排位於 11 到 15 順位. 而第一區段的時間並不在這個區段中被採用, 也就是在這個區段, 大家的時間都是歸零重算.
  • 第二區段, 30 分鐘, 跑完後的 10 輛車分別排位於 1 到 10 順位. 而前兩個區段的時間並不在這個區段中被採用, 也就是在這個區段, 大家的時間都是歸零重算.
  • 車手自由開跑, 圈數無限制.
  • 無載油限制, 可於任何時間進 pit 加油.

大家到活動網頁進行投票吧. :-)

By Joe Horn • Life 0 • Tags: Formula 1

7 月 22 2005

phpBB 2.0.17 released !

主要修正有這些 :

  • Added extra checks to the deletion code in privmsg.php – reported by party_fan
  • Fixed XSS issue in IE using the url BBCode
  • Fixed admin activation so that you must have administrator rights to activate accounts in this mode – reported by ieure
  • Fixed get_username returning wrong row for usernames beginning with numerics – reported by Ptirhiik
  • Pass username through phpbb_clean_username within validate_username function – AnthraX101
  • Fixed PHP error in message_die function
  • Fixed incorrect generation of {postrow.SEARCH_IMG} tag in viewtopic.php – reported by Double_J
  • Also fixed above issue in usercp_viewprofile.php
  • Fixed incorrect setting of user_level on pending members if a group is granted moderator rights – reported by halochat
  • Fixed ordering of forums on admin_ug_auth.php to be consistant with other pages
  • Correctly set username on posts when deleting a user from the admin panel

官方公告 在此.
竹貓星球 也已經發出 這篇公告 囉!

By Joe Horn • phpBB 0 • Tags: phpBB

7 月 20 2005

Microsoft 對 Longhorn 的效能背書

在 這裡 看到的.

  • 軟體在 Longhorn 上的執行速度會比 Windows XP 快 15% .
  • Longhorn 的開機速度會增快 50% , 從待命狀態開機的時間在兩秒內.
  • Windows 的漏洞修正補上後, 需要重開機的機率會少 50% .
  • 連結到系統內部影像檔的數目會減少 50%
  • 企業轉移系統的效率會增快 75%

呃…
我還是覺得大家看看就好, 沒有期待才不會失望! XD

By Joe Horn • Windows 5 • Tags: Longhorn, Microsoft, performance, Windows

7 月 20 2005

Windows 遠端桌面出包!!

剛剛看到 這篇 :

微軟周六發佈公告指出,遠端桌面協定(Remote Desktop Protocol, RDP)的一項瑕疵,將使Windows 2000、Windows XP與Windows Server 2003都可能遭到阻斷服務(DoS, denial of service)攻擊。

不過, 目前似乎還沒有 patch .

微軟表示修補程式還在加緊完成中,但指出還沒有發現任何利用該項弱點的攻擊行為。但上周六The SANS Institute的安全專家已發現針對RDP使用之傳輸埠的掃瞄活動有增加趨勢。這可能是駭客蠢蠢欲動的跡象之一。

不過, 我身邊好像不少人都有在用.
雖然這個漏洞看起來不像 SQL slammer , 疾風那麼恐怖, 不過還是得注意一下.
國外有人進行測試, 被打到的時候是這個樣子 :
Windows RDP DoS

另外, 國外還有這幾篇的相關消息, 有興趣的可以看看.

  • [Dailydave] SPIKE actually scores.
  • Microsoft Windows Kernel Unspecified Remote Denial Of Service Vulnerability
  • Windows Remote Desktop Protocol Denial of Service Vulnerability
  • Microsoft Security Advisory (904797): Vulnerability in Remote Desktop Protocol (RDP) Could Lead to Denial of Service
  • Handler”s Diary July 14th 2005 ( Update: New Windows XP SP2 vulnerability 那段 )
  • Handler”s Diary July 15th 2005 ( Windows 0 day exploit? 那段 )
  • Handler”s Diary July 16th 2005 ( MS Advisory on the Vulnerability in RDP 與 Port 3389 兩段 )

By Joe Horn • Windows 5 • Tags: RDP, Windows

«‹ 16 17 18 19›»

Site Info

All content on this Blog is licensed under CC BY-NC-SA 4.0

About Me

profile for Joe Horn at Stack Overflow, Q&A for professional and enthusiast programmers


My mail!

獅子座

Coffee Powered!

F1 fans

motoGP fans

Linkin Park

I am a Taiwanese!

Recent Comments

  • Avatar of johnpupu johnpupu: PHP 還有這個 phpsavant.c……
  • Avatar of Jerry Jerry: 这个不是foreach的问题。 0 ==……
  • Avatar of Joe Horn Joe Horn: 看來問題在 if ... else ..……
  • Avatar of jnlin jnlin: 因為 'b' 被轉型成 0 了…
  • Avatar of 路人 路人: 跟 foreach 沒有關係 ?…
  • Avatar of bill bill: 註冊表那裡要設定 BasicAuthLe……
  • Avatar of 虫 虫: .svn 的檔案減少可以增加在 wind……
  • Avatar of mars mars: 如果說寫程式是理性極致的話,那寫小說就是……
  • Avatar of Joe Horn Joe Horn: 已更新文章。…
  • Avatar of jackcal jackcal: joehorn.idv.tw關於轉貼 h……

Post Categories

  • About My Sites (16)
  • Computer Hardware (28)
  • Computer Software (45)
  • Database (23)
  • FreeBSD (21)
  • Funny (14)
  • Life (23)
  • Linux (5)
  • Mail (19)
  • Network (12)
  • Programing (40)
    • .NET (5)
    • JAVA (2)
    • Javascript (6)
    • PHP (29)
  • Thoughts (34)
  • Windows (13)
  • WWW (79)
    • phpBB (7)
    • WordPress (18)

Blogroll

  • 這裡沒有美食

Tags Cloud

AMD Apache benchmarking Bloglines Coppermine DNSBL eAccelerator fio Firefox free FreeBSD Gmail Google HDD Hsin-chu HTTPS IE Intel Javascript Lenovo Longhorn Microsoft MSN MySQL Office Percona XtraBackup performance PHP phpBB pirate Postfix restaurant RSS security sendmail software SpamAssassin SSL Subversion Taiwan theme translation Windows WordPress Yahoo

Ads

↑

© Joe Horn 的啟示錄 2025
Powered by WordPress • Themify WordPress Themes