Compare Us
    Hosting Chart
    Compare add-ons
    What to Look for

Signup
    $7.00 plan
    $15.00 plan
    $25.00 plan
    Pay as you go

Information
    Getting Started
    Scripting 101
    HTML Help
    Service Policies
    Outage History
    Web Design
    FAQ

Affiliate Program
Support Center
Facilities

Account Login



New to scripting? Want to learn some of the technologies HBHosting.com supports? Read this Guide!

Scripting 101 Guide
What is Scripting?

Scripting involves creating dynamic web pages that may change based upon user input, dated information, or basically anything you would like to program a web page to do. For example, let's say you want to create a web page which asks a user for their name and email address. How would you accomplish this? By combining a knowledge of HTML with a programming/scripting language such as PHP or Perl. For the sake of this example, we will use PHP, an easier language to learn for the non-technically inclined. (PHP scripts are also available pre-made from HBHosting.com when you signup, and can also be found on other websites).

Let's take a look at a piece of PHP code.
<?
  echo "Hello World<br>";
  echo "Today is: ".date("F d, Y")."<br>";
  echo "25 x 50 = ".(25*50)."<br>";
?>
	
[View Result]

As you can see, PHP can be a powerful tool. It has the ability to perform math, read values such as dates, read information out of a database, and so much more. You can use PHP to take in input from a user on a web page, and email you the results. It can store information in a database, or dynamically show people a different web page everytime they visit. Your options are endless! If you want to try out this script on your own, copy the above code into your own HTML page, and rename it to have a ".php" extension. That will tell the web server that it is a PHP coded page, instead of a regular HTML page. (Note: this wont work on your own computer, you need to upload the file to our hosting servers!)

If you want to dive into the wonderful world of web based coding, start learning PHP today by visiting http://www.php.net/


Don't have an account yet? What are you waiting for!

Copyright © 2008, HBHosting.com