March 2009
3 posts
1 tag
Say It!
Disqus Comments
Integrating Disqus commenting system to my Tumblr blog was ridiculously easy. Just have to figure out why the comment form completely breaks my design :)
2 tags
Be Careful with PHP's version_compare
Be Careful with PHP’s version_compare
var_dump(version_compare("5.2.8-0.dotdeb.1", "5.2.8", "<="));
Expected result: bool(true)
Actual result: bool(false)
The moral of the story: use < or >.
2 tags
Installing a Project-local Propel
Installing a Project-local Propel
Installing Propel is often seen as a difficult task. Official installion instructions recommend installing via Pear and say more initial work is requireq to install it manually. I usually advice not to use global Pear installations but install everything per project because it gives you better control and you are able to use different versions of libraries for...