October 2008

Following is the Time Zone list extracted from the Windows.

{ 1 comment }

In your HTML directly link to the file which is to be downloaded. i.e. <a href="………/files/somefile.pdf">Download Pdf</a>. You will get a pop-up box asking whether you want to save the file or open it normally. Now you want to download it so open .htaccess file and write there some lines according yo your requirement mentioning […]

{ 0 comments }

SMARTY – What & Why SMARTY is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person.

{ 0 comments }

If you have to create a date object of future or past, you can do it by using the second parameter of PHP date function. This is extremely useful when doing BETWEEN comparison in MySQL. You can build the date and bind it to query.

{ 1 comment }

How to Setup VHOSTS on Xamp

by Hiroshi on October 20, 2008

in Softwares

Following are the steps you need to take to create a new vhost in the XAMP. Step 1 & 2 is once only and is needed if you have a fresh installation of XAMP. 1- Enable/Uncomment The following line in your /xamp/apache/conf/httpd.ini file LoadModule vhost_alias_module modules/mod_vhost_alias.so 2- Open your /xampe/apache/conf/extra/httpd-vhosts file and uncomment following line […]

{ 0 comments }