December 2011

Premium Magento Theme – Avalanche (Review)

Avalanche 15% Off Promo: Click here to get 15% discount off, then enter code KAVOIR in the box to claim the 15% discount off the Avalanche theme. After digging into Magento for a few months and trying to start my own tangible business (I only deal with digital goods as of now), I failed in …

Premium Magento Theme – Avalanche (Review) Read More »

PHP: Get Mime Type of a File (and Encoding)

While you can somewhat rely on the name extension of a file to determine the mime type, it may not always be accurate. For example, .jpg and .jpeg files are very probably image/jpeg files and .png files are very probably image/png files, but there’s always an exception because file extensions can be faked. To accurately …

PHP: Get Mime Type of a File (and Encoding) Read More »

Redirect 404 Error to Home Page

Other than making your 404 error page user friendly, you can redirect it to your index pages such as the homepage, sitemap, or search page, to make it useful for the users. Instead of relying on them to correct the error themselves, you offer the new orientation. How to redirect a 404 error page to …

Redirect 404 Error to Home Page Read More »

JavaScript: Load Image based on Select Option (Dropdown)

It’s not unusual to respond to the user actions by dynamically modifying some content of the page. For example, you can employ JavaScript to change and load another image based on the <select></select> option the user has just selected. This is the snippet you need: <select onChange=”getElementById(‘front_image’).src=’/images/’+this.value+’.jpg’;”> <option value=”1″>1</option> <option value=”2″>2</option> <option value=”3″>3</option> </select> <img …

JavaScript: Load Image based on Select Option (Dropdown) Read More »

Cheap PSD to WordPress Theme and Custom Plugins

My friend Xiaobo has been developing for WordPress for the last 4 years — a truly master he is about the themes, plugins, and any customizations you may need about WordPress. He has helped hundreds of professional bloggers. If you ever run into any problems or are simply in need of a developer like him …

Cheap PSD to WordPress Theme and Custom Plugins Read More »

PHP: Store Array in File – Read / Write Arrays in File

You can save re-usable data in database such as MySQL so you can load them among different scripts / script sessions, though it may be a bit overwhelming for simple tasks because you have to set up a whole database and the connection credentials, etc.. File system is probably a better approach with regards to …

PHP: Store Array in File – Read / Write Arrays in File Read More »

How Social Media is Ruining Our Minds [Infographic]

The power of social media now beginning to be felt, there may be some “powers” better left alone. Scientist now say Social Media participation may be causing users’ brains to be REWIRED! Now there is some startling news. Facebook, Twitter, and now g+ use being on the upswing, it’s no wonder all our time is …

How Social Media is Ruining Our Minds [Infographic] Read More »

.com Renewal Promo Code – VeriSign .com Registry Fee Increases by $0.5

A quick notification for my readers. As VeriSign is increasing the registry fee of .com by about $0.5 by Jan. 15, 2012, you may want to renew all of your existing .com domains by then. The name registration fee is on a rise ever since the dawn, depending on your personal finance, renewing earlier is …

.com Renewal Promo Code – VeriSign .com Registry Fee Increases by $0.5 Read More »

<IfModule></IfModule> in .htaccess

I was debugging about some mod_rewrite errors caused by the .htaccess file on one of my sites and couldn’t solve the problem myself so I opted for a help thread on the SitePoint.com forum. Turned out it’s not the problem of my mod_rewrite rules in .htaccess but some incorrect file permissions that were causing the …

<IfModule></IfModule> in .htaccess Read More »

Turn Your Blog or Business Into A Marketing Machine

These days it seems everything is automated. Some marketers even try to automate the two way conversation of the so called social media revolution, but there’s always got to be a human sentiment and senetient being behind communications. Especially the closer our network interactions become. However, despite the need for up-close-and-personal two way communication, there …

Turn Your Blog or Business Into A Marketing Machine Read More »

Global Data Center Facts – Power Usage [Infographic]

Data centers are the fastest-growing energy vacuums in the IT industry in the UK, Europe, and beyond. As data centers grow larger to store the world’s data, their energy us is growing, too. Utilizing more environmentally-friendly power sources is tremendously important for the data center industry. Using renewable energy saves money, conserves natural resources, and contributes …

Global Data Center Facts – Power Usage [Infographic] Read More »

Scroll to Top