Downgrade php Version using Htaccess

There may some times that your site starts behaving like your ex girlfriend, totally weirdo.

You would almost spend days over to investigate the problem

  • Check Error Log
  • Debug all code
  • Remove modules
  • Restart Server
  • Fight with Hosting Company
  • Check Access Log
  • Follow net tutorials
  • Screw the current installation
  • Upgrade the installation
  • Hire a Freelancer (Last resort)



Now Here is a quick solution to check if problem is caused because of PHP version change by your hosting.

Create a file say phpinfo_xyz.php

add following code to it

<?php phpinfo(); ?>

upload it to your domain so it reads like

Run this url in your browser and note your current version of PHP.

You can downgrade your PHP version of a directory using .htaccess file

Here is a sample command

AddHandler x-httpd-php5-3 .php
AddHandler application/x-httpd-php5 .php

Add above lines in your folders .htaccess file and see the change

By again running

You can see if your site version is changed, and see your site for performing better.

Same situation happened to me when I shifted my server from

PHP V5.3 to PHP V5.4

My site was using Opencart V1.5.x so finally i planned to downgrade my site to PHP V5.3, and it worked smoothly.

Send your questions in comments


How to Choose a Host and Hosting Plan:Part1


Are you new to hosting things? Is it rocket science for you?

If yes, then you are at correct place to understand Hosting Scince. Yes it is rocket scince but hard as Paper Rocket Science. 

Key questions to answer before Choosing a Host

1.Why do you need hosting?

2.What kind of website are you going to host?

3.What technology script(Web Based Programmes or call them Softwares) will be running on your site , PHP, ASP , CF or any other?

4.What is your Budget?

Answers :

You need hosting to upload Your Website Contents and Data. A hosting is a virtual space where you keep your website related data.

There are Basically 2 types of Sites.

1.Static Sites

2.Dynamic and Interactive sites


By Usages websites can be categorized as follows

  • Personal or company Websites    
  • Writers / Authors Websites (Mostly blog)
  • Community Building Websites (Mostly Forums)
  • Mobile Device Websites 
  • Informational Websites like
  • E-commerce Websites run own Ecommerce website and sell stuff.
  • Social Networking like Facebook , Twitter
  • File Sharing like Rapidshare, Dropbox


Open Cart 404 to SEO Search Extension :VqMod Supported

Now turn your sad 404 Opencart pages to SEF / User Friendly product pages.


If you have VQmod installed + Opencart 1.5+

Then 404 SEO Opencart is for you.

Please download the attached and install it, using file.


Download:404_seo for opencart

Solution:Magento Make Category show Sub Category Products: Is Anchor

In Magento , There can be a tree of category with thousands of products. By default the category will only show its products , it may not show its subcategories products.

You can make it possible by following steps.







1.Goto Catalog

2.Manage Categories

3.Click on Parent Category ,whose subcat products are required to be shown.

4.Click on Display Settings

5.Is Anchor select it to Yes

6.Click Save Category (Right Top)

7.Now goto System> Index Management

8.Select All> Reindex Data Submit

and You are done!!


Sub Category Products Show in Category

China hacking into servers worldwide

Worlds most populated communist country hackers are now targeting worldwide computers and servers

Uptill now china has been burgerling into US military and corporate servers, but now criminals are using to take down local bodies and companies in china itself , companies can take down people spreading hoax


Hackers now find china the land of opportunity , they track down every single computer , its strokes and its GPS location too

China Hacks Worldwide

One of their police official said “We can physically locate anyone who spreads a rumor on the Internet,”

  • They are Hacking into private servers , tracking down people who opposes govt policies, stealing business secrets, hacking is taken as education and discussed in events, universities and classrooms
  • Ministry of Education and Chinese universities also take contribution of hacking competitions
  • Companies are hiring freelance hackers to watch their opponents activities , business plans
  • Govt is using hackers to keep an eye on suspects over their activities
  • China Hacking is becoming a profession in china skilled hackers can make millions of dollars with right team

Govt companies are low paying so hackers are working for private security companies ,one decade back Red Hackers , are now working for one of companies and making $100,000 

Beware china , You may also get hacked :)

Bootstrap Ecommerce Theme :Top Ecommerce Themes Templates HTML CSS

Twitter bootstrap is faster and efficient than node.js. So bootstrap ecommerce themes are responsive , means works for not only your desktops but Tablets and Handhelds too.

Here i am introducing some great Twitter Bootstrap Ecommerce Templates


1.ShopFine: Premium Bootstrap eCommerce Template Bootstrap theme

ShopFine BootStrap Ecommerce Template

ShopFine is a responsive, modern and clean eCommerce Html5 and Css3 template based on Bootstrap freamwork, it serve the purpose of all eCommerce websites template

What People Say

 Good work! I recommend. 11111

 Very nice template. 11111


  • Clean and Modern design
  • Web browser Compatible with…firefox – chrome – opera -Safira – IE8 , IE9 and Up
  • 960 grid
  • Based on Bootstrap freamwork
  • Fully Responsive Design
  • easy to customize
  • 17 vaild html5
  • side panel to change backgrounds with cookie store
  • side panel to change Wide and Boxed view with cookie store
  • submenus integrated in bootstrap ecommerce theme
  • Jquery Short codes with Twitter Bootstrap themes
  • Google font integration
  • All files are commented well
  • Google Maps in this bootstrap theme


Bootstrap Shopfine Demo  Download Shopfine

2.Shoppest: Html5 responsive bootstrap eCommerceTheme Template

Shoppest Bootstrap ecommerce Theme

  • Clean and Modern design
  • Web browser Compatible with…firefox – chrome – opera -Safira – IE8 , IE9 and Up
  • 960 grid
  • Based on Bootstrap freamwork
  • Fully Responsive Design
  • easy to customize
  • 17 vaild html5
  • side panel to change backgrounds with cookie store
  • Jquery Short codes
  • Google font integration
  • All files are commented well
  • Google Maps.

Bootstrap Shoppest Demo  Download Shoppest

3.Men Shop Style – Responsive e-commerce Twitter Bootstrap template

Bootstrap Men Style Ecommerce template for Fashion Store


Men Style Shop is a HTML e-commerce template, perfect to create a fashion shop or any other shop you’d want, since the layout can be easily adjusted to any niche, if you edit the pictures.


  • Clean & Unique Design
  • Fully responsive
  • Compatible with the most popular browsers
  • Very easy to customize, clean and valid HTML5 code
  • TOP Support(only related to bugs and small mods, not customization requests)
  • Working Contact Form
  • Built with BootStrap and HTML5 Boilerplate
  • PSD file included
  • Free fonts


Bootstrap Men Shop Style Demo  Download Men Shop Style




You can download bootstrap code here

BootStrap Issues



Magento Extension not working :No Content Blank Page

magento-logo[1]Magento Extension fix:Your extensions sometimes do not work , on your non-default magento theme.

It may be due to various reasons,among those popular is files not being copied to theme folder.
You might have revoved cache, ReInstall/Uninstall Extension.




Now try this.

Copy following files




And Refresh your frontend .This method was tried and test over Aw_blog extension and few others too. it would give you Magento Extension fix

Gmail Down Solution: Error 502 Server Down


502. That’s an error.

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds. That’s all we know.


Even google needs rest , Server went down for more than 30 mins in India.

Where as it was accecible via Proxies, Between never trust proxies for email logging.

What to do ?


Emails are accesible via Android Apps and other mobile apps too, Just Browser logging was down.

You can flush your dns cache


Goto Start >>Run>>Type cmd


In command Prompt type 


ipconfig /flushdns

Load site again and Voilla !!!





You save Box in Magento Product Page


The Magento eCommerce platform serves more than 110,000 merchants worldwide and is supported by a global ecosystem of solution partners and third-party developers. Magento is a feature-rich, open-source, enterprise-class platform that offers merchants a high degree of flexibility and control over the user experience, catalog, content and functionality of their online store.

 Most of us are facing a common problem, that Magento does not have facility to show Discount which comes from
Discount =Price-Special Price
this is very weird such a simple thing is missing , Never mind they give you lot more.
So lets See how it is possible to Show You Save :50% Box
Showing :You save in Magento Mod
Things you will need to do
  • Backup your file before editing , this is the most important thing to do.
  • This is mod is tested on Magento 1.7.x
  • Edit only required template file
  • Do not alter other code if you do not understand what is it, Quite and Hire a profession Freelancer to do it for you. (may charge $20-$40)

Now Open your FTP or Cpanel and Locate this Folder



Here themename is the theme you are using , default theme comes with default folder


Now locate view.phtml file

Open it and


<?php $_helper = $this->helper('catalog/output'); ?>

<?php $_product = $this->getProduct(); ?>

add following code below it


//Mod for Discount%

     $_finalPrice = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice());

     $_regularPrice = $this->helper('tax')->getPrice($_product, $_product->getPrice());

if ($_regularPrice != $_finalPrice):

     $getpercentage = number_format($_finalPrice / $_regularPrice * 100, 2);

     $finalpercentage = number_format((100 - $getpercentage),0);


//mod for discount%

Now you can show the Discount any where by Echo  $finalpercentage;
<?php echo "You Save :". $finalpercentage."%";?>

Reviewing Samsung Galaxy S3 SIII with New features

SAmsung Galaxy s3 preview

Samsung Galaxy S3 is smartest of its kind.Successor of Galaxy S series S3 comes after 2 years of its first ancestor.This phone has great features , and a different shape than S2 phones.It has 4.8-inch screen, the 8-megapixel Rear camera, 2MP Front camera.the removable 2100 mAh battery, the onboard memory is 16GB .It is  pegged for an MWC announcement, comes with the latest Android 4.0 and TouchWiz.if you are sick of wires, a separate wireless charging kit means you can charge your phone without hooking it up to the socket.

Buy Galaxy S3 From Amazon

Some of the features are

  • Smart stay
  • Social tag
  • Direct call
  • S Voice
  • Smart Alert
  • NFC Payment
  • Face Recognisation
  • Wireless Charging Kit
  • 4.8 Touch SuperAMOLED Screen
  • 1280×780 HD resolution
  • 8MP Rear Camera
  • 2MP Front Camera
  • 16GB onboard Memory
  • Touchwiz5.0
  • Quad-core Exynos 4 processor


You can still get Galaxy S2 from here

Make Samsung   GPRS Yes
Model Galaxy S3   3G Yes
Operating System Android   HSDPA Yes
Multicore(dual core, quad core) Yes   Wi-Fi Yes
Coverage (Band) Quad   Internal Memory 16 GB
Dimensions 71 x 137 x 9 mm   USBv2.0 miniUSB Yes
Weight 133 g   GPS Yes
Talk time TBC   Push e-mail TBC
Standby time TBC   Bluetooth with A2DP Yes
Camera8.0MP Yes   MMS Yes
Camera FlashLED Yes   E-mail Yes
Video Camera Yes   Wireless Tethering Yes
Front Facing Camera Yes   Memory CardmicroSD Yes
Front Facing Camera Resolution 2.0MP   NFC Yes
Audio Player FLAC,WMA,OGG,AAC,AMR-NB,MP3 Yes   Video Calling Yes
Video PlayerDivX, H.264, H.263, MP4 Yes   Browser Yes
FM Radio Yes   Touchscreen Yes
3.5mm Headphone Jack Yes   HDMI No
DLNA Yes   AirPlay No

Samsung Galaxy S3 Launch Date:This Android smartphone will launch on May 29 in Europe, and in 10 other cities worldwide including Tokyo and Dubai.

TOUCHWIZ :TouchWiz is a touch interface developed by Samsung Electronics with partners, featuring a full touch user interface. It is sometimes incorrectly identified as an operating system. TouchWiz is used internally by Samsung for sophisticated feature phones and tablet computers, and is not available for licensing by external parties