PHP and dynamic URLs

Whenever I make a new website now I always think about what the urls will need to be like. Most off the shelf CMS platforms will have a plug in or option to enables similar functionality.  But if your writing the site yourself you will want to be able to convert URL from post Id’s […]

Free tech ebooks, the definitive free guides

Learning new programming languages is fun but it can be difficult choosing which references and books to use. Most good text book will cost a small fortune and go out of date within a few months and probably wont cover everything you need. For me the best resource comes straight from the source, for most […]

Best SEO Companies

Finding a good SEO company can be pretty difficult, most will call you and make promises they can’t keep like they will get you on the front page of Google in a week for a term nobody will search for. There are a lot of cowboys just like any industry. That’s why it’s good to […]

Javascript click() method

Javascript has evolved into a great web programming language over the last few years with its compatibility getting much greater then it was and with the versatility of the script. This week I came back to a script I wrote some time ago using a frame work. The script basically allowed the visitor to click […]

Twitter PHP and SimpleXML feed

Just like the Google Charts API the Twitter API can be super simple. Twitter uses a few different XML feeds to send and receive data from a given user, some feeds require a user name and password supplied through Curl but a few are publicly available to all. This example will use the built in […]

Javascript get element by id

Javascript is probably the most awesome tool a web developer can use to make a website both functional and look nice. Javascript has also evolved over the years with the DOM it has become much easier to develop. One useful piece of code I always end up using when writing Javascript is getElementById, the way […]

Google Charts Example

API’s are becoming more popular on the web as many of the big online companies such as Google, Yahoo and Facebook offer there own open source code for web developers to use freely and easily. To begin with I am going to go through how to use the Charts Basics API from Google. This is […]

Random Banner with PHP

This is a quick tutorial which shows how easy it is to make a random banner script with PHP. We will use a PHP array of images which is populated by a given directory and select a random index from the array to be the banner. For this example I have chosen to list the […]

Fix Canonical URL with link rel=”canonical” in PHP

Recently the major search engines have worked together to help fix one of the biggest problems in SEO, The canonical URL. With this quick fix all you need to do is add a tag to the <head> section of the page and search engines will use this as an anchor to index the page. since […]

Shorthand boolean IF with PHP

This is a good alternative to using a basic IF condition. It basically fits the whole thing on a minimal line of code. It is an  easy way to compare two values and select the right one. There are a few ways to use this but the basic jist of it is to compare two […]

SEO Friendly Redirects with PHP

With a basic redesign you probably wont have this problem but if you have rebuilt a website even with the same content if the URL’s have changed this will have a huge effect on your search engine presence as you will be starting from scratch. Your links from internal pages may not work, links from […]

Flash/Actionscript wordpress RSS reader

I might come back and explain the code to this one in the future, but for now it is a basic example of how you can use Flash with dynamic content. Using and XML based RSS feed generated from word press we can use actionscript to import and interprete the tags into something we can […]