<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>refrsh.com</title>
	<link>http://refrsh.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 16 Jul 2008 09:01:41 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Vector art - Dave the Penguin freebie</title>
		<description>I was playing around with some more vector work, (yes boss, I am working too!) and came up with a penguin who I have affectionately named Dave.

I am including the PSD file in with Dave in case anyone wants it to download and play with.

If you do decide to give ...</description>
		<link>http://refrsh.com/2008/07/vector-art-dave-the-penguin-freebie/</link>
			</item>
	<item>
		<title>More Vector thingy&#8217;s</title>
		<description>As promised here are a few more green things. There are also red ones which I will put on as well.

If anybody wants to take the PSD and do more with it then let me know and I will link it up :)

1/ I think I need a break.....



2/ sad



3/ ...</description>
		<link>http://refrsh.com/2008/07/more-vector-thingys/</link>
			</item>
	<item>
		<title>Worpress 2.5 upload bug&#8230;..</title>
		<description>Whilst uploading an image I kept getting an error message:

HTTP ERROR:

crunching...

and the image wouldnt upload.

This appears to be a know bug and a few people have a few theories but the one that worked for me was to create an .htaccess file in the wp-admin folder and add:

&#60;IfModule mod_security.c&#62;
&#60;Files async-upload.php&#62;
SecFilterEngine ...</description>
		<link>http://refrsh.com/2008/07/worpress-25-upload-bug/</link>
			</item>
	<item>
		<title>Vector Art</title>
		<description> Validation?
One of a range of vector images I did for T Shirts not so long ago. I still have some availble with different designs if anyone i sinterested ;) </description>
		<link>http://refrsh.com/2008/07/vector-art/</link>
			</item>
	<item>
		<title>PHP Snippet - custom captcha</title>
		<description>Need a quick and dirty captcha?

[code lang="php"]
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);
	// write the string at the top left
	imagestring($im, 5, 2, 4, $substr, $textcolor);
	// output the image
	header("Content-type: image/png");
	imagepng($im);
[/code]
 Should give you ...</description>
		<link>http://refrsh.com/2008/07/php-snippet-custom-captcha/</link>
			</item>
	<item>
		<title>blog for 1 day and get spammed&#8230;..?</title>
		<description>So 1 day into my blogging life and I have 5 spam messages already.

Askimet is now activated so lets see what happens....... </description>
		<link>http://refrsh.com/2008/07/blog-for-1-day-and-get-spammed/</link>
			</item>
	<item>
		<title>Basic PHP, MySQL Login tutorial</title>
		<description>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 ...</description>
		<link>http://refrsh.com/2008/07/basic-php-mysql-login-tutorial/</link>
			</item>
	<item>
		<title>format size</title>
		<description>Snippet for formatting byte size.
[code lang="php"]
function formatSize($size, $round = 0) {
    $sizes = array('B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
    for ($i=0; $size > 1024 && $i < count($sizes) - 1; $i++) $size /= 1024;
    return round($size,$round).$sizes[$i];
} 
[/code]

Usage:
[code lang="php"]
formatSize('12345');
[/code]

*********** ...</description>
		<link>http://refrsh.com/2008/07/format-size/</link>
			</item>
	<item>
		<title>debugger function</title>
		<description>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)

[code lang="php"]
	function debugger($desc=null, $what) {
	/* if it's an array, print_r for formatted output
		** */
		if($desc) {
			echo ''. $desc .'';
		}
		
		if(is_array($what)) ...</description>
		<link>http://refrsh.com/2008/07/debugger-function/</link>
			</item>
	<item>
		<title>it&#8217;s about time dammit!</title>
		<description>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 ...</description>
		<link>http://refrsh.com/2008/07/its-about-time-dammit/</link>
			</item>
</channel>
</rss>
