home email about rss

Archive for February, 2007

Simple PHP Class Tutorial (Part 1)

I’m not sure how to start this one… It can be quite difficult to understand PHP classes at first, but hopefully I’ll make everything seem easy!

The two files used can be found below:
time.php
class.Time.php

Right here we go…

Read the rest of this entry »

Backing data up using SSH

This tutorial assumes you are using Linux. The easiest and most effective way to backup is by dumping your databases into your home directory and then zipping everything up. cPanels backup is usually a waste of time as it bloats things, often fails and additionally can’t be used on servers without it.

First things first, you’ll need the putty SSH client which can be downloaded from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Putty requires no installation and can be executed directly after it’s download. Execute putty and in the “hostname” box type your domain name. You’ll now be presented with a black screen asking for your username, type the same username as you use for FTP. Now your password, when you type it you won’t see any characters appearing, however type the same password as your FTP account then hit enter. If the box either closes or asks you to contact support, do so and request jailed shell access. Read the rest of this entry »

The Google algorithm

The Google algorithm could be classed as quite complex and ever changing, however the basic rules of SEO are quite basic.

As a general rule of thumb, your site will be indexed fairly well if it complies with the following:

* Clean markup
* Use text whenever possible, image heavy sites or sites made in flash do not get indexed well.
* A link on a high traffic site is better than 1000 links on low traffic sites.
* Regularly update your content to keep visitors and bots coming back.
* Use sitemaps where possible to make it easier for Google to crawl your site. Read the rest of this entry »

Apache + Mod_PHP on Linux

Apache and PHP is a piece of jolly chocolate cake to setup on Linux. Grab a pint of beer and let’s get started. You’ll want to use a 2.x release, I never understand why people bother with compiling 1.3.x releases when 2.x is so superior. It’s faster, much faster, more functional and makes better use of your servers resources. I presume, as you are leet that you wish to use the latest current stable Apache release. Login to your server via shell and type the following commands to get started. We’ll need to create an install directory for neatness, so type the following to create a directory named /install

mkdir /install

This prevents you clogging up the server with loads of rubbish, use this folder to compile everything that doesn’t need to go in your source directory. Now, change into that directory by typing the following: Read the rest of this entry »

Hey

Just thought I’d introduce myself, mein name ist Mike Harrison und meine meerschweinchen ist kaputt!

I’ll be writing some things about design/illustration such as ‘rules’, techniques and maybe a tutorial or two!

The first and only thing i have done for this site so far is make the logo, more will though ;]

If you don’t know my work, check my site out at www.destill.net

What is Search Engine Optimization? (Part 2)

Continuing on from my earlier post about Search Engine Optimization here are the last 6 tips on getting your site a higher ranking in search engine listings.

  1. Submit Your Site…
    Spiders tend to find your website via outgoing links from other websites, although you should to submit your site to top search engines to be listed quickly and have a better chance at a good inclusion. Google offers a service that allows you to submit an XML sitemap of your website which gives diagnostics on how well your site has been crawled and which pages are considered most important to influence your listing. MSN also have a submit area as well as Yahoo. There are various directories such as the DMOZ.org Open Directory in which you can submit your website to be listed.
    Read the rest of this entry »

« Previous entries