Month: March 2009

Grant EXEC permission on all stored procedures in SQL Server 2005

If you have a large number of stored procedures in your SQL Server 2005 and you have to give EXEC permission to a database user on all of them then the best way to do it is by running the

Tagged with: ,

Customize menus in Joomla 1.5

Joomla 1.5 has come a long way since Joomla 1.2. Earlier if you had to customize a module you had two choices: 1. Edit code in the actual module file. 2. Write custom code to implement the functionality. Choosing either

Tagged with: ,

Realtek audio problem on Intel Desktop board DG31PR

I had recently bought a Core to Duo machine and installed Windows 2003 on it. I had some hesitation installing Windows 2003 on it as people had said that is has limited support for various hardware. I picked the Intel

Tagged with: ,

How to parse an XML file in PHP using XML parser

PHP offers a new and fast way to parse XML files. This approach makes it easier to parse very large XML files in a couple of seconds. Here goes the code to parse a sample XML file. The XML in

Tagged with: , ,

How to read a zip file in PHP

If you want to read all the files a zip file contains and extract those files to a location on your computer then you can do the following. First of all make sure that the zip package is included in

Tagged with: , ,

How to know when GoogleBot last visited my website

If you want to know when GoogleBot visited your website recently you can use any of the following ways to do so 1. Go through your web logs which Apache/IIS generate for your website. Scan for GoogleBot. A very crude

Tagged with: , ,

How to download a file using CURL in PHP

Downloading a file is easy but what if you had to download a file through your page and save it on our machine. Well here goes. We use our friendly CURL library in PHP for this. You can use the

Tagged with: , ,

Google presents Google Sitemap Generator

Since Google came out with the Google Sitemap tool many website owners who were having problems of getting their websites indexed on Google started using it. However, Google Sitemap required website owners to submit their website sitemap in XML format.

Tagged with: ,

How to create and use menu in ASP.NET?

To be frank I used to think that ASP.NET menu control was complex and hard to use. Boy was I wrong!!! ASP.NET provides a menu control which allows you set all its visual properties and menu items and voila start

Tagged with: ,

How to add a value to asp:Checkbox control and retrieve it on postback?

The <asp:Checkbox> is one of those controls in ASP.NET which does not have a default Value property in which you can store a value and retrieve it upon postback. This becomes a problem in cases where the value has to

Tagged with: ,
Top