Archive for the ‘Website Programming’ Category

04
Nov

The technology is advancing at a lightening fast pace and making way to more innovations which have made a difference in today’s world. One such revolution that has dramatically transformed the virtual web world is Asynchronous JavaScript and XML or AJAX. If you have heard a lot about this word and are curious to explore as to what sort of profit it will incur to your website, this is the right article for you to acquaint yourself with this technology. This application has made Google Maps, an instant hit with the users, thanks to its quick page loading which allowed the users to scroll down the maps very conveniently without waiting the page to get loaded. This has resulted in the increase of the Ajax development services waiting to cater to the needs of the website owners.

Ajax will give you a respite by allowing your webpage to load in fraction of a second, a very less time for those whose heavy websites take ages to upload. And this has been a phenomenal hit amongst the users. However, you must realise the Ajax services only gives parity to the users. There are websites like eBay and Amazon, which are minting money without the usage of Ajax application development and still going strong with each passing day. The benefit of this application is that it gives the users an extra level of advancement that makes it easier for all users to use and thus admire it. Big players like Yahoo Maps and MapQuests have also shifted to Ajax thus giving way to better navigated websites.

At the face value, Ajax may look a very user friendly application. However, you must be careful in implementing this into your website. The Ajax development companies may go gaga about the benefits of this application, but it has its own disadvantages. The application might make your website more confusing, forcing the visitors leave the website without exploring it. The Ajax would not use the back button feature as a user might expect. Also the bookmark feature also doesn’t work very well with this application.

So, the usage of Ajax application should be done under caution. If you are doubly sure about its pros and cons and convinced about its usage, only then you should use this application.

04
Nov

There is a large number of scripts and programs available at no charge if you are looking to find a web hosting facility which has PHP support and MySQL assistance. Using these programs will offer a strong level of possibilities for any user. No matter what he price range of the web hosting firm is they will likely offer many free services. The range of free goods can include a provision of domain names at no cost, email ID at no cost and programs which will assist with building a web site or even scripts that are pre-installed including counters, guest books or calendars. Every extra additional item you could need or want, including scripts and applications are available. All of these additions can allow people to create a large number of forms, be able to provide classified advertisements, provide and choose from a large amount of photo albums to offering services such as dating possibilities or listings for auctions. There is an amazing amount of tasks that can be completed by using free scripts and applications.

Fantastico is one of the best free services that you can find from your web hosting service provider. It is a web based script installer, which enables you to get a number of free goodies to your web site. You can also have access to over a dozen different content management systems along with Fantastico. Moreover it also provides you access to quite a few different blog packages, half a dozen user forums, shopping carts such as Zen Cart and OS Commerce as well as to a trouble free FAQ maker and six unique customer support options.

Some of the packages that you can get for free:

Free Domain Name: Most of the web hosting service providers offer a free domain name registration. In order to enjoy this facility you need to use the same organization for domain registration as well as for web hosting. Some of these companies also safeguard your confidential business information from general public. However, there is a risk that the web hosting company may tend to keep your website as a hostage if you want to move to a different web host all of a sudden. Thereby, ensure that the domain name is registered in your name.

Portals and Content Management Systems: These Content Management Systems are also known as Web Site Builders. These systems make is much convenient for you to add or remove pages and information to and from your web site. There are a number of web hosting companies that offers free Web Site Builders. Most of them include modules that enable you to add various features such as, shopping carts, discussion boards, instant messaging, and polls. With the help of these content management systems you can even add user authentication as well as security options to your web site without much problem. Usually the free content management systems that your web hosting company may offer are Post-Nuke, Drupal, Xoops, Mambo and Joomla. All of these are open source software that comes with a number of user supports apart from the usual support that your web hosting company provides. Moreover, you will also come across several new tricks and modules that are being offered for all of them.

Blogs: Almost all the web hosting companies incorporate blogs as a free setup script. These blogs are online publishing tools, which enable you to update your website conveniently and as often as you prefer. In fact, they automatically place the latest entries up and shift the older entries down in the reading queue. The most commonly used blogs are Google Blogger and WordPress that your web hosting provider may include with your web hosting account.

Firms who provide web hosting features and offer free goods:

TopCities.com: With over 150 MB of space for no charge, it is unsurprising that TopCities is one of the more popular Web space providers. There is also the provision of sub domain for no charge and bandwidth with no limits. It is also extremely easy to load up files by using FTP or a package like the Easy upload facility offered by TopCities.com. If this isn’t enough there is also the option of website development tools that can provide guest books or message boards.

007sites.com: This offers a rapid service in addition to 700 megabytes of room and 7,000 megs on bandwidth free each month. It is possible to use an existing domain or get one for no charge. This site also provides MySQL support, FTP access and PHP services.

Zero Catch: It is one of the best web hosting service provider available. It offers you free 100 megs of space. The Zero Catch also support banner ads and has a reliable and speedy server. The other features included are site promotion and FTP support and many more. You can even check out the "partnership" program offered by Zero Catch in case you are looking for an added draw for your site. This will enable you to become a free Web space provider.

2ip.com: A multitude of domains and up to 100 megs of space are available here as well as web traffic with no limits. Other features include specific stat statistics, a full FTP access, guestbook facilities, sub domains and online forms. There are also additional site building options that can allow any user to have a professional looking site. Users will also benefit from an email service that has many addresses but will forward all mail to one inbox.

Absolutely-Free-Hosting.com: This web hosting service provider has a searchable database along with reviews of more than 200 free hosting services available on the Web. They offer a number of services that include PHP, ASP, domain hosting along with many other features.

Orgfree.com: Sub domain and domain hosting are the main features of this web host provider that is available for free. This is added to by the no limits on bandwidth and web space. Also, if you have a lot of traffic coming to your site, it is possible to get a free domain as well as FTP access, MySQL support and PHP features.

5GBFree: After a simple registration, you can have 5 gigs of space free from this web host provider. There are no ads on this site which is good for many users and they also offer Perl Scripting, PHP and around 10 MySQL databases. In addition, you can bring your own domain or get a sub domain for free from 5GBFree.

MyHosting247: This is a very popular free Web hosting service that enables you to have a hefty 5 gigs of Web space, 20 MySQL databases as well as 20 gigs of monthly bandwidth. The other lucrative features of MyHosting247 include a file manager, PHP hosting and FTP hosting. Moreover, this web hosting service puts no banner ads your web pages and also allow you to host your own domain and sub domain.

ProHosting: If you want 50 megs of space on the Web for free, ProHosting may be the site for you. The also offer CGI features and provide an FTP account in addition to web site builder packages and email abilities to offer assistance to your own customers.

Republished with permission from, providing web hosting articles, industry reviews and ratings of today’s top web hosting companies. Go to webhostingmadness.com for more information about and exclusive deals on web hosting.

10
Jul

All of webhost4life web servers have State Server enabled. If you are hosting asp.net application with webhost4life you can use Session State in your web.config file.

To use it, you just need to edit session state section in your web.config file. Here is an example about it:

<configuration>
    <system.web>
        <sessionState mode="StateServer"
                      stateConnectionString="tcpip=127.0.0.1:42424"
                      cookieless="false"
                      timeout="20">
        </sessionState>
    </system.web>
</configuration>

Visit webhost4life

, , ,

30
Jun

Although webhost4life provides "Set Redirection" function in their hosting control panel but some times you still need to achieve that with script. I’ve posted some comman used scripts here for referrence and you can check and try them out yourself.

301 Redirect

301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it’s the safest option. The code “301″ is interpreted as “moved permanently”.

Below are a Couple of methods to implement URL Redirection

IIS Redirect

  • In internet services manager, right click on the file or folder you wish to redirect
  • Select the radio titled “a redirection to a URL”.
  • Enter the redirection page
  • Check “The exact url entered above” and the “A permanent redirection for this resource”
  • Click on ‘Apply’

ColdFusion Redirect

<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>

PHP Redirect

<?
Header( “HTTP/1.1 301 Moved Permanently” ); 
Header( “Location: http://www.new-url.com” ); 
?>

ASP Redirect

<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>

ASP .NET Redirect

<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(”Location”,”http://www.new-url.com”);
}
</script>

JSP (Java) Redirect

<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>

CGI PERL Redirect

$q = new CGI;
print $q->redirect(”http://www.new-url.com/”);

Ruby on Rails Redirect

def old_action
headers["Status"] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end

Redirect Old domain to New domain (htaccess redirect)

Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

Please REPLACE www.newdomain.com in the above code with your actual domain name.

In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.

Redirect to www (htaccess redirect)

Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com 
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Please REPLACE domain.com and www.newdomain.com with your actual domain name.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.

Sign up hosting account at webhost4life now

,