PHPImpact: 30 useful PHP classes

May 30, 2008 · Posted in php · Comment 

PHPImpact has posted 30 useful PHP classes here.

Which ones do you use? I have used the following:

Still a lot more interesting ones which I haven’t tried.

How to RDP Vista Home Premium with SP1

May 30, 2008 · Posted in Windoze · Comment 

Previously I had written a blog entry to enable RDP on Vista Home Premium. After installing SP1, I realized that I could not connect to my machine.  After a little search in google, I found the same group has done their magic for SP1 too. For your reference, here is the file.

PHP single quotes Vs double quotes

May 27, 2008 · Posted in php · 1 Comment 

Any time you put something in “double” quotes, you are asking PHP interpreter to check that content for a variable. So even though the line do not contain variables within the double quotes, PHP will waste precious computing time scanning them anyway.

$sql = 'select * from employee';

will be much faster than

$sql = "select * from employee";