Marc Fraser | Web Design and Development Blog A Web Design and Development Blog by Marc Fraser. Marc Fraser is a student, situated in Central Scotland.

26Oct/092

Smoking outside public places

I hate smoking. It is a horrible habit, and one that I've never once partaken, if I may add.

Basically, my gripe is nowadays when you want to enter a public building (a shopping center for example) you walk in with a headache, choking for breath, all the side effects of inhaling the smoke from others cigarettes - otherwise known as 'passive smoking'.  Throw into the equation the putrid smell of cigarette smoke, it's horrible.

Obviously it is the smokers choice of whether to smoke or not, this doesn't bother me.  I'd rather people never smoked, but I guess someone has to prop up the public purse.  However, what really bothers me is that some people who choose to partake are so ignorant.

What I ask the smokers is that they refrain from standing at entrances/exits of public places; for the non-smokers it is horrible - for reasons defined above.

There are the people who stand at doorways smoking, but then there are the intensely ignorant people who think it is OK to blow the smoke into your face, or the people who don't at least try to exhale the smoke in a direction which is clear; which at the front of busy shopping centers cannot be done!

Basically what I ask people to do is smoke in the designated smoking areas.  By the way, I do not want to tar all smokers with the same brush, some already do this.

Also, the Government could do with bringing in legislation in which states something akin to  "Smoking 30-meters from a public building is not permitted"; this is if they haven't already - I had a look through the law, but nothing stood out at a quick glance.

Scottish legislation: http://www.opsi.gov.uk/legislation/scotland/acts2005/asp_20050013_en_2#pt1.

Sorry for the very unstructured rant!  This has been a pet-hate of mine for a while, however it was only aggravated today by a terribly ignorant individual.

24Oct/090

Twitter

I've re-signed up to Twitter.

Please follow me (@marc_fraser): https://twitter.com/marc_fraser.

Thanks

Marc

24Oct/090

New Mobile Phone

After 6 months of the iPhone 3G, an upgrade is due!

I was so impressed with the iPhone 3G, that I've decided to get the latest version - the iPhone 3GS. It should arrive on Wednesday; how it is getting here I don't yet know. If its Royal Mail, I'll be lucky to see it before Christmas!

I'll post my initial impressions when I receive it.

Tagged as: , , , No Comments
10Oct/090

New Trainers (Sneakers for US viewers!)

Went shopping today in Edinburgh for a pair of Nike Air Max 90 in full white.  I really like Nike Air Max trainers -  I think they are really comfy.

Anyway, after browsing a few shops, I came to the conclusion that I'm looking to buy something which I can't actually buy and thus, had to go for an alternative.

Did I forget to mention that I'm a sucker for Adidas Y-3's?  Well, I am.  I bought what must be my 5th pair (not the same style!) of these trainers today - the other 3 are still in near perfect condition, one pair is wrecked due to walking through a field of mud after a football match.

Anyway, here's a picture of the ones I bought today:

New Y3 Trainers

New Y-3 Trainers

They are extremely comfy, like all Y-3's and the leather is very nice!

10Oct/092

PHP Include

(from Full Article)

The include command can save you a lot of time as you can create a header, place it in a file and just include that file on every page and the header will be shown. This will also mean that you do not need to edit every page every time you need to edit your header!

Basically the PHP Include command takes the file name and inserts the contents of the file into the script.

To illustrate this, I will use an example:

  1. Create a HTML file called Menu.html and insert the following code into it:
<ul>

<li>Home</li>

<li>Articles</li>

<li>Tutorial</li>

</ul>
  1. Now create a menu_example.php PHP file (in the same directory as Menu.html) and insert:
<?php

include(‘Menu.html’);

?>
  1. Navigate to menu_example.php in your browser and run it – you should see:
Shows the menu that is being included.
Menu Included.
Tagged as: 2 Comments

Bad Behavior has blocked 62 access attempts in the last 7 days.