Hosting Ireland uses cookies to enhance your browsing experience and to create a secure and effective website for our customers. By using this site you agree that we may store and access cookies on your browser, unless you have disabled your cookies. Click here to read our privacy policy.
The following PHP modules/features are available
First create an HTML web page in a text editor and type:
Now for the PHP. PHP needs to be placed in between the special tags, <?php ...... ?>. Next we will start the PHP tag and create a variable to hold the text 'Hello World'.
Note that the code lines always end with a semi colon (;). Now we can display the contents of the variable in the HTML using the PHP print function.
Now we close the body tag and the HTML tag.
Now save the file, 'helloworld.php' save the file to a directory on your linux hosting account.
The complete source of the file:
To display the page open your web browser and type 'http://mydomain/helloworld.php', replacing mydomain with the domain you have hosted.
Please note that we cannot provide technical support on third party PHP scripts, problems with a third party PHP script should be referred to the script vendor.