::peeto.net

Navigate Site


Arrow Site Options

Arrow Cookies
Arrow Site Panel
Arrow Page Panel
Arrow Site Color

Select Color View mode


Arrow InetTime

Local
::
InetTime


Convert

::

spacing

Welcome to Chris Petersen's web site

Photograph of Chris Petersen

This is the personal web site of Chris Petersen from Melbourne Australia. Here you will find information about me, things I am interested in, and links to other sites and my friends. You can get in contact with me by sending me e-mail or interacting with my blog.

I work primarily as an Internet Developer so I will be using this site to provide information on Internet technologies and links to useful resources.

The site is currently receiving lots of changes and as a result some bookmark/favorite links to this site could stop working. Any broken links however will redirect the user to the home page.


My Blog

My Blog is being updated using Blogger.com.
peeto
Last updated: Monday 29th 2009f June 2009 03:25:01 PM
This is the blog of Chris Petersen from peeto.net.

I need to vent
Monday 29th 2009f June 2009 03:25:01 PM

Grr, f***, sh**, a** f***! I am setting up one of my PHP CMS's and was having trouble with non-ASCII characters. After pulling my hair out and endless googling I found the problem, htmlentities(). It turns out that htmlentities() is set to ISO-8859-1 by default and needs a specific parameter to be UTF-8.

I found this:

/**
 * Encodes HTML safely for UTF-8. Use instead of htmlentities.
 *
 * @param string $var
 * @return string
 */
function html_encode($var)
{
 return htmlentities($var, ENT_QUOTES, 'UTF-8') ;
}

Here:
http://developer.loftdigital.com/blog/php-utf-8-cheatsheet

Coco Contacts
Thursday 24th 2008f July 2008 10:39:43 AM

A friend of mine has created this site that sells freaking cool contact lenses. I've seen fashion / colored contacts before but Coco Contacts has a huge range of really cool contacts that I've never seen before such as soccer balls and smiley faces.

Persoanlly I'd like to get some for the next Halloween / StarWars / cross-dressing party I attend.

$ dec[1]des
Monday 26th 2007f November 2007 05:46:26 PM
Australia is having a federal election, I've been watching too much Chasers, and it's freakin hard to blog on a Wii. Seriously, one of the apparent big election issues has been broadband access in Australia. Being the eve of the election, I figure it couldn't be a better time to vent my thoughts on broadband Internet.

Wii For Mii
Monday 26th 2007f November 2007 04:26:41 PM
I got myself a Wii a while back and have now got the Internet Channel. Please e-mail me if you want to swap Mii's with me. My Wii ID is 7446 5474 7096 6442. If you haven't already, download the new Mii Contest Channel as it's the easiest way to get some extra (and good) Mii's.


peeto.net News


News

Google Australian News
Google World News
Yahoo! World News
Slashdot
The Register

Melbourne Radio

Fox FM
Fox FM Take Away (podcasts)

Triple M
Triple M Pod Casts

Triple J
Triple J Music News
Triple J Hack Highlights (podcasts)
Program Guide
Net50
Listen with Windows Media Player
Listen with RealPlayer

Television Guides

ABC
ABC 2

Locations of visitors of peeto.net

Locations of visitors to this page