function ReadFile($filename)
{
$fh = fopen($filename, 'r');
$theData = fread($fh, filesize($filename));
fclose($fh);
return $theData;
}
Updates from February, 2009
-
How to read a file into a string using PHP
Phil Leggetter
-
Snow in Hertford
Phil Leggetter
Jo took some great photos and a couple of videos of Hertford in the snow today.
See more photos in Jo’s Snow in Hertford Album
-
My reply to: Which is the worst Transformer?
Phil Leggetter
I follow Chris Garrett on Twitter and he posted a link to a blog post about Which is the worst Transformer?. As a kid I really liked The Transformers and felt compelled to defend some of them. I posted what is about to follow as a partly tongue-in-cheek comment but it’s been “awaiting moderation” for hours so I just thought I’d dump it in my blog. I’m pretty sure that Chris will agree with me about Soundwave as he’s got the toy on his desk.
The original blog post: Which is the worst Transformer? Blog post
-
Sunday Lunch Review - The White Horse Hotel, Hertingfordbury
Phil Leggetter
Jo and I have decided that we are going to start going for Sunday lunch and are going to keep a list of where we’ve been and what we thought of it. What better place to keep a note of this than on a blog. Here’s our first effort at a review.














