Jul 15

PSD File included for free download.
Have a play and be nice to Dave

Give Dave a HomeGive Dave the penguin a good home!!

Jul 15
More Vector thingy’s
icon1 SpikeZ | icon2 artwork | icon4 07 15th, 2008| icon3No Comments »

Some more of the green things in vector format - 3 more added for now

Jul 11

The Wordpress 2.5 image upload bug.
What worked for me :)

Jul 10
Vector Art
icon1 SpikeZ | icon2 artwork | icon4 07 10th, 2008| icon36 Comments »

Spikey vector artwork

Jul 10

Need a quick and dirty captcha?

session_start();
        $str = str_shuffle(‘abcdefghijklmnopqrstuvwxyz0123456789′);
        $substr = substr($str, 0, 6);
        $im = imagecreate(60, 25);
        // white background and blue text
        $bg = imagecolorallocate($im, 255, 255, 255);
        $textcolor = imagecolorallocate($im, 0, 0, 0);
    [...]

Jul 10

spam, spam, spam

Jul 10

Alrighty then, here goes with the first of what I hope will be many tutorials.
This is a BASIC login script that uses a MySQL database to log someone in.

It is by no means a complete, secure, authorising system so please dont come back with things like; “Your session security is rubbish” or “Why isnt this in full OO code?” - It’s a principle tutorial with working code done in a semi OOP/procedural fashion for the purposes of learning.

So here we go, most of the text is in the code - cut, paste and learn :)

Jul 9
format size
icon1 SpikeZ | icon2 PHP, snippets | icon4 07 9th, 2008| icon32 Comments »

PHP Snippet for formatting byte size.

Jul 9
debugger function
icon1 SpikeZ | icon2 PHP, snippets | icon4 07 9th, 2008| icon3No Comments »

Debugger Function:

Wrote this for a small CMS to return a nicel formatted error string.
Accepts either a string or Array as the argument and cn debug superglobals as well

(POST, SESSION, GET, COOKIE et al)

Jul 9

well yes, here it is - after years of procrastinating and deliberating the inevitable has happened…..
SpikeZ has a blog!
So what is the plan for this blog?
Basically for me to whack up some code snippets from helping on various sites mostly Sitepoint.com but also a few others.
I intend to add tutorials as well - PHP, MySQL [...]