Blocking Ads on Windows Live Messenger
Posted on 2009-03-31 • (0)
Everybody using Live Messenger should be annoyed enough with its constantly flashing and disturbing ads. While there are multiple methods trying to bl[......]
用 Microsoft 的東西等於反 Linux?
Posted on 2009-03-23 • (6)
繼上次買鍵盤之後,又買一次,而且是同一款 — Microsoft 的 Natural Keyboard (上次那個淋水壞掉了)。又同樣地被人問,「原來你不是 anti-Microsoft 的啊?」。連 Dom 都說「你不要同我講之前那個是 Microsoft 的呀!」。上次手機轉用 HT[......]
Windows Process Execution on PHP with Double Quotes
Posted on 2009-01-19 • (0)
I had a so-called “poll” on Win32 PHP (chinese only), which actually was simply a nag of problems writing code on PHP with cross-platform support (Windows and Linux are in my mind), especially when dealing with file system and command execution — without telling in detail. The complaint had been well hidden in another blog post, but since I don’t want to dive into unconstructive criticism, I just refrain from posting the whole thing here without digging into detail. Until now. That’s lucky, as some more information is revealed, and the situation is not as crappy as I expected. Here goes the first one.
Problem executing commands with more than 2 double quotes
The most frequently used command execution functions in PHP include exec(), system() and so on. They have a common problem: no more than 2 double quotes allowed. For example:
<?php system('"C:\Program Files\ImageMagick\display.exe" "C:\Document and Settings\user\Great Pic.jpg"'); ?>
Such commands are actually pretty common, with space in program path as well as arguments that followed. Regardless of program execution privilege or whatever, the system() itself already fails.
People used to know this for 2 years or more, yet no cure exists. Funny schemes were invented to circumvent such problem, there are at least 2 on PHP website comments:
[......]
Netcat for win32
Posted on 2008-07-04 • (0)
It had been some while ago since last time I was using netcat for Windows. Indeed it is always an invaluable tool, indispensable for any network admin or computer security workers. So it is kind of shocked when the official site for win32 netcat, http://www.vulnwatch.org/netcat/, is not even available on Google cache.
[......]
E-zone 訪問後記
Posted on 2007-11-11 • (2)

看過今個星期 e-zone 的 Linux 友都一定會感到疑惑:為甚麼給 Ubuntu 的分數會那麼低的?說到外觀,不是有 Compiz 的嗎?明明裝了它後比 Vista 還要炫啊!(最起碼我已經有朋友這樣問過了。) 如果看完下面的理由後,就不難理解的了。
[......]
Windows 2008 server trial
Posted on 2007-09-30 • (0)

Thanks to one of my students in class, I was given a Windows 2008 server beta DVD for testing. The ‘core’ installation rumour is true; th[......]