From the bottom up
   You have to start some where

Archive for the 'General' Category

MySQL Search Tip

Friday, April 4th, 2008

So I haven’t written anything in ages, and wanted to put up something to say that i am still kicking. Today i had one of those duh moments, when you stumble upon a feature you never new about. This one is a real duh since its so obvious.

So I was moving a site with dynamic content to a new url, and was searching the DB for any direct links to the old url, so i was building custom Sql queries using MATCH AGAINST and LIKE, to find the search string in th Db tables fields. Well as i was about to use PhpMyAdmin to execute my query i realised there was a search tab, and low and behold it does what i want with out needing to write my own query, DUH.

Thats Al, till i feel like writing again :)

SEO Friendly Javascript Pop Ups

Wednesday, January 30th, 2008

<a href="http://www.google.com" onclick="window.open(this.href, 'popup', 'width=600,height=375'); return false;" target="_blank">Test Link</a>

Moved and Upgraded

Thursday, November 1st, 2007

So i finally got round to moving the site, files/DB to the new server and upgraded wordpress to the latest version. Let see if i can start writing stuff again.

Alternative to $HTTP_RAW_POST_DATA

Wednesday, March 28th, 2007

If you need to access the Raw Data From the Post Stream, you can do it using the following command;

$raw_post_data = file_put_contents(“php://input”);

The Illusionist, A-

Tuesday, January 9th, 2007

Good Movie, nuff said. edward norton does a great job, and Jessica Biel is always good on the eyes.

Awesome Quote I Found

Friday, December 22nd, 2006

Seriously. In my world, HTML is something that graphic designers do, and when they get done with it, I attack their prettiness with my Geek fu and make it walk, talk, and infect your computer with awesomeness.

Heroes Starts Tonight!

Monday, September 25th, 2006

Hereos is a Hot new Sci-fi show on TV, read more here.

And for more SCI-FI Goodness you should watch the Battlestar Galactica Webisodes

Drop Shadow: CSS Onion Skin Method

Monday, August 21st, 2006

Here is an article on the doing a drop shadow for an image using CSS and the onion skin method.

How To: UTF-8 Encoding & PHP

Wednesday, August 9th, 2006

How To: UTF-8 Encoding & PHP

Tip of the Week: ‘==’ vs ‘===’

Wednesday, August 9th, 2006

So, if you are checking if a variable is set to true or false, i suggest doing it using ‘===’ instead of ‘==’ this is because in php the value of false is 0 and true is 1, when you use the === it checks the variable type as well, where as ‘==’ only checks if they are equal.

More Info @ php.net