Online Manual
PHP
Quick notes on PHP
PHP4 is a server-side HTML-embedded scripting language.
Please note, that you must install the php cgi first. It is not installed by default.
--> Go to your web control panel --> Free Scripts --> Install "PHP4"
In order to use PHP, make sure that the .php extension must be used rather than .html.
More info can be found at http://www.php.net/
Example:
the following php code:
<?php echo "Hi visitor, your IP address is $REMOTE_ADDR !"; ?>
<p>
You are using <big><?php echo $HTTP_USER_AGENT; ?></big>
results in this output:
This php code is extremely simple and you really didn't need to use PHP to create a popup window like this.
The point of the example is to show the special PHP tag format. In this example we used <?php to indicate the start of a PHP tag. Then we put the PHP statement and left PHP mode by adding the closing tag, ?>. You may jump in and out of PHP mode in an HTML file like this all you want.
You can find full PHP documentation here.
Click here for PHP tutorials.
Note: We do not provide support for PHP. We have added it for users that are already familiar with it.
- Last modified on
Home / Hosting / Domain Lookup / Support / Email Contact
© 1998-2025 Spunkyworld Internet Services - All rights reserved