How to add share button to Magento

You can use share this tool. This will give you icons and sharing links. For sample I have added code here. You can also generate new using this which is free and open source, Copy the span tags and place them where…

Magento Newsletter Subscription Confirmation Template

Newsletter Subscription Confirmation When it’s triggered: This is the email that a customer will receive if you have enabled the need for that customer to confirm the subscription to your newsletter. Newsletter Subscription Success When…

.htaccess against MySQL injections and other hacks

MySQL injection attempts are one of the most common hacking attacks against PHP websites. If your website is hosted on a dedicated or virtual server, the best solution is to your server hardened with proper mod_security rules. However, if you're…