Change the location of your external links with MooTools

So a thing I was trying to do for quite some time now but using php and rexep, which I hate and don’t understand at all, was trying to change the location (href) of all the external links on my page to something else so I could easily track the clicks. Or maybe... 

MySQL variant for PHP’s in_array

So you have an array, let’s call it $array. $array = array('one', 'two', 'three'); And you want to do a MySQL query that will check if one of the values in the array are present or similar or whatever. In PHP it would look like this: if... 

Fetch MP3 Tags from Last.fm Using PHP

Today I’m gonna show you a script that I did for a project of mine that fetches the tags from LastFM and updates the database inserting the top 5 tags from their database and leaves your tags as they are. I believe it could be a lot less messy but I am too lazy... 

How to Create a Belcher Button

If you are wondering what a Belcher Button is, it’s that ugly button that you see on sale pages usually. The one on the thumbnail. Yes, that BUY IT NOW / ADD TO CART button, that people tend to click in order to purchase what you are selling. If you still don’t... 

Make Your Titles Dynamic with PHP

When developing your website, if you want to rank well in search engines it is crucial that you use different titles for every sub-page you’ve got online. This is because these search engines (Google, MSN etc) love your titles and categorize your site based on... 

Use PHP to Fetch an Album Artwork From Amazon

It’s actually pretty easy once you find out how to do it. By having the artist and album name you can fetch the album artwork from Amazon in three different sizes. With php5 it’s very easy since it has an integrated xml parser. All we have to do is this:  Read More →

How to Have an Opaque Text on a Transparent Background

This is what I’m going to show you how to do: This is Kakashi from the Naruto anime. It’s a nice effect that can be used for many things, for a nice gallery or something. You could combine this with some JS, add a hover effect to the picture and have... 

Check if A Number is Even or Odd with PHP

I’m going to show you a very simple method for finding out if a number is even or odd in php. You could use this for many things but usually this is mostly used when you have a, let’s say, table and you want to color the background of every second row differently. The... 

Simple Way of Implementing BBCode with PHP

When posting on forums, we usually use BBcode for styling our texts. When developing webpages, if we want to let our users style their profiles but don’t want to give them permission to style directly with CSS or html (<strong> etc..), we could simply use... 

Create A Sliding AD Showing Up From The Bottom *upd 15.06.2009*

Did you ever want to do something like this? An ad showing from the bottom of the screen? Well, today I’m going to show you how to do it, without the need to spend $47 Yay! We are going to do reproduce this by using mootools and some styling. Again, it’s... 

« Previous Entries