DEANO.ME

Guides

 

I see this time and time again – someone gets a virus on their PC, calls their “techie” friend who immediately goes “oh yeah – I can remove this…”. The “techie” removes some start-up program entries that run the offending EXE – runs some slightly more suspicious “.bat” files that apparently help remove the root […]

 

Arrays are an amazingly useful variable in all programming languages, they allow you to store vast amounts of organised data in just one reference. This helps not only on software memory usage and speed – But also on program complexity and code neatness. I’m going to explain by example many different ways you can define […]

 

Pulling your hair out over this Notice message? Well here is an explanation for why you are getting this and how you can avoid it. Take a look at the following code: <?php class myClass { public $var = 1; public function &getVar() { return($this->var); } } $obj = new myClass; $value = &$obj->getVar(); ?> […]

 

Google Analytics is a great way to track the visitors on your websites, however what if you are using AJAX for website navigation? Fortunately Google have everything under control, you can easily tell Analytics that the user is loading another page by using _trackPageView. You should already have the latest Google Analytics tracking code called […]

 

Recently I have had a nightmare of a problem with an apparent rendering bug in IE7 + IE8 which had all the hallmarks of the “peakaboo bug”. Firstly, here is a quick explanation of my problem: AJAX fetches content into an element on the page, in ALL other browsers this content appears and works normally […]

 

I have a very useful script for people who wish to monetize from the Google Affiliate Network. Are you sick of managing your banners manually? Adding/removing banners as you join/leave affiliates? Or are you looking to use Google Affiliate Network but the task of managing the adverts is putting you off? Well my Script can […]

 

If, like me, you find that the WordPress visual editor (TinyMCE editor) has stopped working randomly (or in my case when moving your WordPress site to another server) then you may be lost as to how to fix the problem! With my editor I could only see the code window and not the visual editor, […]

 

So this is something I was implementing today. And as I usually do with these sorts off tasks, I did a search on Google to see if there were good/bad methods to accomplishing the task I required. However the first result (which had the best approach I could find) said “Don’t do this!!”. to me […]

 

Ok, so I thought this was not possible, but in fact it is possible for you to reference a custom font file for a website using CSS… Not only does it works for all the latest browsers, but you can also get it to work with out-dated browsers as far back as IE6!!! So I […]

 

Isn’t it annoying when you have a website that uses AJAX to load each page of the site, but the URL in the address bar just stays as the URL to the entry page to the site? Well it’s not just annoying its very user unfriendly too! Your users cannot hit F5 because that will […]