ITTreats.com
Enter your Search term and Hit "Enter"

Wed, 10 Mar 2010 9:38:31 AM +00:00

Latest 'ITTreats'


Make a Sortable table According to the column data on each column

Make a Sortable table According to the column data on each column

If we are making an reporting interface, it will be very very useful if we can provide sortable table on each column. If  the sort  happens  with a simple click on column names with out any  server requests ??  Yes,  it is perfect .

sort

More . . .

How to Upgrade Your Server PHP Version to latest stable PHP Version using WHM

How to Upgrade Your Server PHP Version to latest stable PHP Version using WHM

To Upgrade the PHP Version of your server, there is no need to contact Tech Support and raise a Ticket which is billable :(

You yourself  can Upgrade your server’s PHP Version to latest PHP Version  if you have access to WHM i.e Web Host Manager

Let’s see How  you can do this your own.

Step 1:  Login to WHM

Step  2:  Look for  Easy Apache  or  Apache Update   Under Software  Section  of  WHM  and  Click on that

Step 3:  Now,  Choose the Profile  which you want to  Customize  or  Rebuild  Totally  , i  prefer  Customizing the default  one  so, Click on Start  Customizing the Profile

Step 3 :  Choose the Apache  Version  Click  Next

Step 4 :  Choose  the PHP  Major  Version  presently  5

Step 5 : Choose the PHP  Minor  Version   presently  Latest stable  release is 5.2.9

Step 6 :  Save  and  Build  Now

Once You say  Build  it will take  min of 15 to 30 min  depending on  the Modules you have selected to update  ,  So be patient  till You see  Build Complete

Once after completing ,  carefully follow  the screen instructions  to save the new config.

!!Congratulations!! you are done.

Apache is Updated , Now go back to your website and create a info.php  page  and paste the following code

<?php

phpinfo()

?>

You will see your PHP  Version Upgraded to the latest version what you have selected ..

Displaying Images saved in Database of blob datatype in JSP

Displaying Images saved in Database of blob datatype in JSP

Most of the times,  we need to display images  from Database,  This Article will guide you  to display  images  saved in  database

When we are saving  images to the database,  its a better  option  to save  the image type also,  it will be  helpful  when we are retreiving  image from database,  it is  fine when we are handling or saving  only one type of  image format  i.e either  jpg or GIF  but  what if  we  are allowing users to upload  both  jpg, gif  or any other  image format.  So,   Better to have a another field  to save  the image type also by which  we can  straight away throw  the  required headers  to the page .. i.e

response.setContentType(“image/jpeg”);
or

response.setContentType(“image/gif”);

More . . .

How to Install Openfire chat server as service

How to Install Openfire chat server as service

we were looking for a Open Source Chat Server for our Office, then i came across Openfire  Chat Server.

I personally suggest Openfire with Pandion as chat client  is  best suitable for Small  Companies.

You can download  Openfire from http://www.igniterealtime.org/downloads/index.jsp

After installing Openfire, you have to manually make the chat server as  Service so that, you can avoid people waiting for you to switch on the Chat Server  and then login to Chat Clients ( Pandion, Spark etc ) .

Download  Chat Clients from below

Pandion :  http://www.pandion.be/download/

Spark  :  http://www.igniterealtime.org/downloads/index.jsp

These are the steps to make  Openfire  chat server as a service .  More . . .

How to Solve 500 internal server error in wordpress

How to Solve 500 internal server error in wordpress

If your blog is developed on wordpress, and if you have your blogs on  subdomains  and now looking to change it to  subfolders ? hmm

you can do that very easily, but once if you change it to subfolder  For example    From  http://abc.domain.com  to   http://www.domain.com/abc/    is very easy ..  but,  did you cross chekced  what happens to your posts ?? will your posts are accessible ?? are they working ??  Mostly  the answer is No.

Here  is the guide  which will help you to solve  your  subdomain to subfolder issue  in wordpress  but,  for this you should play with CPANEL  or  other Hosting Control .
More . . .