36 government sites hacked by ‘Indian Cyber Army’
At least 36 government websites were hacked on Tuesday by online hackers going by the name ‘Indian Cyber Army’.
The 36 websites were reportedly hosted on the same server.
According to Express 24/7 correspondent Sabur Ali Syed, some of the websites belong to the Pakistan Army and the others belong to different ministries, including the Ministry of Foreign Affairs, Ministry of Education, Ministry of Finance, Pakistan Computer Bureau and Council of Islamic Ideology etc.
So far, no official statement has come from the government on the cyber attack.
read moreSmarty Templates: How To Create Custom Functions
Smarty, the popular template engine that serves as a basis for many well-known content management systems such as Xoops, MovableType, and X-Cart, is full of great features. But it is not the most intuitive system for developers to learn to use, and it doesn’t help that the documentation is a bit scanty in spots. So here is the simplest and most complete tutorial you will find on writing a custom function for your Smarty templates.
Why You Need To Write Custom Functions
For most purposes, the built-in Smarty functions are sufficient. But sometimes, you will want to embed a custom function in your templates in order to define certain variables or display certain content. Now if you are wondering why you can’t just use PHP directly in your template, it is because there are some limitations on what you can do.
Yes, you can insert PHP into Smarty templates. You’d do it like this:
read moreJava Script Form Validation made easy
<script type=’text/javascript’>
function formValidator(){
// Make quick references to our fields
var partnumber = document.getElementById(‘partnumber’);
var quantityneeded = document.getElementById(‘quantityneeded’);
var companyname = document.getElementById(‘companyname’);
var contactperson = document.getElementById(‘contactperson’);
var phone = document.getElementById(‘phone’);
var email = document.getElementById(‘email’);
50 Top Joomla! Extension
http://www.waterandstone.com/open-source-cms-resources/articles/50-top-joomla-extensions
read moreHow to Move WordPress site from localhost to any other domain
Just execute these commands on mysql
UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET guid = replace(guid, ‘http://www.old-domain.com’,'http://www.new-domain.com’);
osts and pages:
UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);
read more








Recent Comments