Logo Your Web Hosting Solution
Line
PHP Documentation
Introduction
Variables
Using Forms
Sending Email
MySQL Databases
Tutorials Index
Home Page
PHP Tutorial - Introduction

All hosting plans have PHP enabled by default. There is no need to install or enable anything extra. Unlike cgi scripts, no special permissions are required.

Simply give your PHP pages a .php extension and upload them to your web site. Think of these files as regular .html files with a special set of features.

First Example

<html>
<head><title>First Example</title></head>
<body>
<?php
echo "Our first example<br>";
?>
</body>
</html>

The php code starts with <?php and ends with ?>.

When someone points a browser to this web page, the server will convert the .php code and output the below.

<html>
<head><title>First Example</title></head>
<body>
Our first example
</body>
</html>

In other words, it will display a web page with the words "First Example" in the title and the phrase "Our first example" on the page itself.

Included at no extra cost with each hosting account, PHP allows you to make your web site more dynamic.

Top Of Page 
Line
Copyright© 1996 - 2024 Clockwatchers, Inc.