All our web hosting accounts support PHP.
What is PHP?
PHP (Hypertext Preprocessor) is a scripting language that allows you to run server side scripts which allow you to have dynamic webpages that can insert content from MySQL databases etc directly into your webpages.
The PHP Server can perform calculations, take content from other webpages and has an almost unlimited number of uses.
It is free software that we include with all our virtual hosting packages which allows you to set up forums, blogs, online shopping carts and much more.
You can either use PHP Web hosting to write your own custom PHP scripts or use it to set up other people’s ready-made scripts such as blogging software, forums etc.
How does it work?
The script is contained in brackets marked
<?php
(Your code goes here)
?>
A quick example of this would be:
<html>
<head>
<title>PHP Hosting Ireland</title>
</head>
<body>
<?php
echo “PHP Hosting Ireland”;?>
</body>
</html>
If you were to save this as a PHP page it would print out the phrase PHP Hosting Ireland.
You should save your webpage with a .php file extension in order for the server to recognise it as a PHP file.
F.A.Q.
I have a static HTML website that I want to change but I do not wish to lose my search engine rankings by changing the file extension from .html or .htm to .php for each page. Is there any way I can use PHP in my existing .html pages?
No problem, all you need to do is to log in to Cpanel and set your account to recognise .html as a PHP file.
Our Hosting technical support staff would be happy to help you with this.