Compdigitec Labs

Archive for January, 2011

Getting the direct link of a SkyDrive file transparently using PHP

Monday, January 31st, 2011

Windows Live SkyDrive is one of the best online storage/file hosting solutions available online. It provides you with 25 GBs of free storage associated with your Windows Live ID, and allows you to upload as many files as you want to it. However, Windows Live SkyDrive’s direct links are not stable for more than a […]

Redirect non-www domain to www in Apache

Monday, January 24th, 2011

Search engines will often consider the non-www and www sites of a domain as separate websites ( vs In order to solve this, you will often want to redirect the non-www part of the website ( to the www part ( So this way if your visitor types or they will wind […]