Wednesday, September 27, 2006

Second Time Southampton

Nothing too long winded too say, except, that southampton rocks as we are all well aware of. I made some stuff with PHP, which has some promise. But we'll have to see how that goes.

Missy Elliot is coming to town. this saturday, apart from that south is south, and west is east.

Quote of the Day
"Could you hack into the FBI?"
After a brief pause "Anything is possible"

My skills natural talent are starting to be noticed

Wednesday, September 13, 2006

сотый столб 2

Turns out my blog is called russian space station for a reason. What is this reason, i'm not quite sure myself, but what i do know is that Hold On is used in the mother land. Yes folks, my lowly first hash at development, is semi-popular in russia!

So here is the proof!

It's a Russian Palm Handheld, site that lists my application, my name, and my email. In fact thats how i found it, by googling my email address (don't ask).

Incase your worried that it's some sort of big russian mail order brides site heres a picture

In other news, i off to uni in two weeks, and i can't wait. Although i could swear that last time i filled out this part correctly, one can never be too sure...

Plus cause i'm open like that, i'll be living on the ground floor of the Camilla Block in Lucia Foster Welch, room 004. So if you randomly googling peoples rooms, welcome and i'm the guy next door, Index this! Hell, what have i got to lose, i'm know in a russia for petes sake.

BTW the title means 200th post in the language of the motherland And no, the motherland isn't south london.

Quote of the Day
Tim "It would be helpful, if you didn't mention how awful the press ads are, as we would like them to stay around beyond the first day"

I can't help it if i'm too real It was a joke first time, Ele liked it Not that her opinions carry any weight in my head what so ever...

Friday, September 01, 2006

Code Snippets

Having learnt PHP like yesterday, i decided that i might most some of my code. This function converts file sizes to user friendly Gigabytes, Megabytes, or Kilobytes.

//Convert bytes to higer values
function byteConvert($INPUT)
$temp = $INPUT;

//If it's over a Gigabyte
if ($temp >= 1024000000){
$temp = $temp / 1024000000;
$temp = round($temp,2);
$temp = $temp . " " . "Gb";
return $temp;
//If it's over a Megabyte
elseif ($temp >=1024000){
$temp = $temp / 1024000;
$temp = round($temp,2);
$temp = $temp . " " . "Mb";
return $temp;
//If' it's over a kilobyte
elseif ($temp >=1024){
$temp = $temp / 1024;
$temp = round($temp,2);
$temp = $temp . " " . "Kb";
return $temp;
//If' it's under a kilobyte
$temp = round($temp,2);
$temp = $temp . " " . "b";
return $temp;