Strings

http://us3.php.net/manual/en/book.strings.php

strlen
strcmp, strcasecmp
strspn, strcspn
strtolower, strtoupper, ucfirst, ucwords
nl2br, htmlentities, htmlspecialchars, strip_tags, strtr(get_html_translation_table

Regular Expressions

Regular Expression (POSIX Extended)
http://us3.php.net/manual/en/book.regex.php

Regular Expressions (Perl-Compatible)
http://us3.php.net/manual/en/book.regex.php

Alternatives for Regular Expression Functions

strtok, explode, implode
strpos, str_replace, strstr, substr, substr_count, substr_replace
trim, ltrim, rtrim, str_pad
count_chars, str_word_count

String Validation with PEAR Validate_US

http://pear.php.net/package/Validate_US
posted @ 2008-12-01 16:47 Warren Tang 阅读(10) | 评论 (0)编辑

In firefox, type: "about:config" in the address bar
then, type in "ipv6" in the top filter bar
if the value = "false", right click and select "toggle".

the value now should change from "false" to "true".


posted @ 2008-11-28 23:58 Warren Tang 阅读(11) | 评论 (0)编辑

1. install Chinese language support;
2. install scim-pinyin;
3. im-chooser:
   System > Preference > Personal > Input Method
4. Select show the status icon
5. Use Ctrl + Space to switch input methods between English and Chinese.
posted @ 2008-11-28 23:11 Warren Tang 阅读(19) | 评论 (0)编辑