How to Change PHP Version via .htaccess File

Last Updated on Thursday, 14 February 2013 09:29 Written by Naveed Ashraf Thursday, 14 February 2013 12:00

On a server, there is possibility to have more than one compiled php version. If you wish to use a php version other than the default one, you can use the .httaccess file for this purpose.

If the default php version on a server is set to php 5, then by default, all domains will use php5.  If a certain application installed on a domain runs only under php4, thenit is necessary that the domain uses php4

Open .htaccess by any suitable editor. Put the following code into it:

Server without suphp enabled

AddType application/x-httpd-php4 .php .htm .html

Server with suphp enabled

AddHandler application/x-httpd-php4 .php .htm .html

In the same way, you can enable other php versions if they are installed/compiled over the server.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Learn More

How to Get the Value of an Element’s Attribute with jQuery using attr()

Last Updated on Wednesday, 13 February 2013 08:35 Written by Richi González Wednesday, 13 February 2013 12:00

Hello,

Lately that I’ve been working a lot with jQuery, I have noticed how easy and small functions get endless possibilities for improving code. In this article, you will learn how to get the value of any attribute of an element with jQuery using attr()

We will imagine we have the following HTML code:

Learn More

How to Get a String’s Length with Javascript

Last Updated on Friday, 8 February 2013 04:29 Written by Richi González Sunday, 10 February 2013 12:00

Hello,

Learn how to get a string’s length with a very simple Javascript property: length. This is really useful when you want to do, for example, field validations with JS; you evaluate the length and then do something.

Learn More

How to Add Different Fonts on a Web Site

Last Updated on Monday, 21 January 2013 02:51 Written by David Bauernschmidt Tuesday, 29 January 2013 12:00

In today’s web environment you have a great number of options when it comes to technologies to use, images to show, animation to run, navigation to launch, as well as many different frameworks to implement but one area that has always been fairly limited is in different fonts.  For the most part you have just a few (relatively speaking) to pick from.  You can look at sites like ampsite, MIT, webDesigndev and many others and you will find that you have about 16 fonts or so.  This has always bothered me.  You want to provide the user with a unique experience which should include fonts that are tailored to your site design.  You can create a wide range of graphics text but these are neither scalable nor search engine optimized.

Learn More

How to Add a Google Direction Map to a Web Site

Last Updated on Saturday, 26 January 2013 08:17 Written by David Bauernschmidt Saturday, 26 January 2013 12:00

Just about everyone in today’s internet has either a Google, Bing or MapQuest map on their web page, and although this is a fine idea there have been several times when I want to know how to get there from where I live, work, or eat.  You are left with a couple of choices, you could try and copy and paste to Google map and then add a destination or you could zoom out and try and figure it out yourself. Why not add the ability for a user to enter in their address and then let them see driving directions from your site. Furthermore; if you wanted to capture the address that they are using you might find a pattern which might help target your advertising dollar. This article will walk you through the steps to add this to your site. Trust me it is not very difficult.

Learn More

Search

Authors

Web Hosting

Linux Hosting
ASP .NET Hosting
Business Hosting
Reseller Hosting
E-Commerce Hosting
Dedicated Servers

Acceptable Use Policy
Terms of Service
Privacy Policy

Affiliate Program
Site Map

Blog Hosting

PostNuke Hosting
WordPress Hosting
b2evolution Hosting
Textpattern Hosting
Habari Hosting


CMS Hosting

CMS Made Simple Hosting
phpNuke Hosting
Geeklog Hosting
phpWCMS Hosting
phpWebSite Hosting
Shopping Cart Hosting

OpenCart Hosting
osCommerce Hosting
CubeCart Hosting
Buy Safe Hosting
Zen Cart Hosting


Video Sharing Software Hosting

iVidPlay Hosting
ClipBucket Hosting
ClipShare Hosting
osTube Hosting
vShare Hosting
Forum Hosting

XMB eXtreme Hosting
phpBB Hosting
Simple Machines Hosting
Vanilla Forum Hosting
AEF Hosting


Social Network and Community Website Hosting

SocialEngine Hosting
Jcow Hosting
Skadate Hosting
Dolphin Hosting
Elgg Hosting
Copyright © 2003-2013 Arvixe, LLC. All trademarks are property of their legal owner.