1. Adding and manipulating template variables and the Drupal call order:

template_preprocess()
template_preprocess_breadcrumb()
MODULENAME_preprocess() // Defined in module
MODULENAME_preprocess_breadcrumb() // Defined in module
phptemplate_preprocess()
phptemplate_preprocess_breadcrumb()
THEMENAME_preprocess()
THEMENAME_preprocess_breadcrumb()

2. Overriding with Theme Functions and the Drupal call order:

THEMENAME_breadcrumb()
phptemplate_breadcrumb()
sites/all/themes/THEMENAME/breadcrumb.tpl.php
theme_breadcrumb()

3. Devel module and Theme development module is helpful to show you message about theme override.

4. When you theme a CCK filed by adding a file content-filed-field_xxx.tpl.php, do not forget to place an original content-field.tpl.php in the same folder.

5. Do not forget to clear cache if no changes show.

关于shazam的原理论文

shazam是Iphone 和 其他手机上的音乐识别软件。当你在酒吧之类的公共场所听到好听的歌,用这款软件识别10秒钟,就会返回歌曲的详细信息。第一次用shazam的人都会感到神奇,它的识别率如此高。

偶然发现了shazam算法的论文如下:

http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

If the include_once not rightly used, some error will be occur in different environment. This is the right way to use include_once in PHP

include_once(dirname(__FILE__) . ‘/unzipper/pclzip.lib.php’);

Pay attention to the dirname(__FILE__) , this keep the right location of the current dir.