PHP __get And __set Magic Methods

PHP is a loosely typed programming language, one of the features of a loosely typed language is that you can use variables without declaring them or their type. In other languages such as c# you need...

How To Use HTML5 Form Features

In HTML5 there are a few more features which allow you to do some cool things with forms such as validation without writing any Javascript which makes it easier for all people who don't know how to wr...

CSS3 Spinning Social Media Icons

We all want more attention on social media, it's all just one big popularity contest and were all fighting for more followers and friends. If you have managed to get people on your website this is a...

Getting To Know HTML5 Forms

In a previous article you learnt what is HTML5 all about. But this article missed out a lot of new features which come with HTML5 including audio and video embedding using HTML5. But one of the featu...

Using Interface And Abstract Classes In PHP

Interface Classes If you have done some programming before you may of seen the interface class be used before. The interface class is common in many design patterns. It will not add any additional fun...

Set Expire Headers In htaccess

A way that Browsers try to help speed up rendering the page is by taking static data and cache it. These are things like images, CSS and JavaScript files. As Browsers are going to cache these bits of...

PHP Magic Method __toString()

During OOP in PHP you need to debug the class, you can use the var_dump method but this isn't so user friendly, so you need an alternative to the var_dump(); PHP have released some magic method which...

Increase The Default Maximum File Upload Size In PHP

If you have a website which allows users to upload their own images then you will need to change the default maximum files size upload. The PHP default for all file uploads is 2MB, so the server will...

How To Use The HTML5 Placeholder Attribute

In my previous article on What is HTML5? I pointed out some of the new features which are coming with HTML5. One of the advantages of HTML5 are the features to HTML forms. The benefit of HTML5 is that...

Using Static Methods In PHP

A static method allows us to use the method without creating the object first. This means that we can use the scope resolution operator :: to use the method. Static methods can not be accessed by usin...

Store Files In The Cloud Using Dropbox

If you are a freelancer or even or you are a computer user who uses multiple computers you will need a space to store files in the cloud. This means that you can access the same files from any compute...

Images On A Diet With JPEGmini

The speed the page loads is very important for any website, it keeps visitors on the page and improves search engine results. A good strategy to improve page loading times is tocache the pages to red...

Remove Wordpress Version Number

If you have been looking into Wordpress security then you will notice that one of the most common solutions to help improve Wordpress security is is remove the version number on your blog. By default...

What Is HTML5?

HTML5 is the next version of HTML. This will introduce some brand new features which will make building HTML even easier. This is by introducing features which to make your website layout clearer to b...

How To Create A Simple Modal Box With JQuery

There are loads of plugins out there to use for a modal box but some of over complicated for this simple task of showing a message on the screen in a lightbox. I decided that I would build my own and...