Archive for February, 2009

GoogleCheckout Added

As per popular demand the CSN-UK billing team have added Google checkout its arsenal allowing the full use of the most popular online transaction systems.

Please find this open on the billing form when asked to confirm and pay, existing customers may change to this payment method by contacting the billing department before their next due date.

Kind Regards,
CSN-UK | John

echo ‘Hello World’?

“Hello World” you will find this tutorial in almost every computer language and it is the very first step taken when learning any new language. It will allow you to ensure your environment is working and introduce the <tags> used.

Let’s start by opening a text editor be that Dreamweaver, FrontPage, Expression Web, Notepad or any other. For the purpose of this tutorial we will use Notepad, please start by creating and naming the new text file: helloworld.php please note the .php extension.

PHP is self contained within tags, there are several formats for these tags however we recommend those used below as these are those that servers will seek out by default. Within a PHP file you are also free to use other languages such as HTML, CSS and JavaScript to name a few.

Type or copy and paste the code below into notepad, and press save.

<html>
 <head>
  <title>Hello Word</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'; ?>
 </body>
</html>

This is now your first PHP page, although so far what have we learnt? Nothing? So it is now important to understand the code that you have just used:

  • <html > </html> Begin and close the file in a HTML format.
  • <head> </head> This content is not visible directly on the page to the user but contains information about the webpage.
  • <title> </title> This is the name of the file as visible in the top of the web browser.
  • <body> </body> This begins the main Body of a HTML file and is where you type the code for the visible content on the webpage.
  • <?php ?> These are the PHP open and close tags, all PHP code must be contained within these tags in order to work correctly and not cause an error.
  • echo ‘Hello World’; The function we have used here is echo, and it will simply display the content within the commas on the webpage. Please also note the ending semicolon ; this is required at the end of each statement within PHP however there are some exceptions to this which will be mentioned in further tutorials.

The final result should be a page identical to this Page.

SSL Issues * Resolved

We are currently experiencing issues with our SSL certificates validating correctly, thus the Clientarea will be made temporarily unavailable to ensure the security and integrity of the information provided via the Clientarea.

Please feel free to contact us with any issues regarding SSL certificates issued by ourselves or other issues regarding your hosting as normal using support@csn-uk.net, live support or messenger support

This issue has now been resolved