Kevin Vance - CONTENT

Entries | Archive | Friends | Friends' Friends | User Info

03:02 pm


Sunday, October 26th, 2003
Previous Entry Share Next Entry
I don't like going to the grocery store. I don't like the traffic, I don't like waiting in line, I don't like lugging bags around, and I don't like how fragile eggs are. Okay, the eggs aren't the grocery store's fault, and I only broke one. Complain, complain, &c.

Can't complain too much, because of the extra hour! Probably like everybody else, I realized we were back on standard time when my computer was an hour slower than everything else. So, I was angry that I had one hour less than I thought I did, then put two and two together, and immediately relieved that I had one hour /more/ than I just thought I did. That sort of set the tone for today :P

This weekend, I meant to work on spacegame's AI. Instead, I remembered about a silly PHP project I did over the summer but never quite had 100%. Take a look, and see if you can break it. This is the first real thing I've written in PHP myself. You do all the file management with real file management stuff: a shell, ftp, scp, whatever. It generates the thumbnails on demand with ImageMagick (and caches them), and generates new ones if the images change. The admin can say what files are visible, as well as give an image a title and description. Anyone can leave comments, which the admin can delete. It doesn't do categories yet, which would just be subdirectories to follow the standard-file-management motif.

If there is a document about the best ways of dealing with hostile user input in PHP, I'd like to see it. I'm hoping htmlentities() is enough, and I'm pretty sure that nothing the user does ever gets near a shell.

This was really amusing, too bad I didn't get to see it in person. (The wall was already broken, btw.)
Link )Reply )

[User Picture]From: suppafly
2003-10-26 12:14 pm (UTC)

this is proof..

that you watch way too much tv.
(Reply) (Thread)
[User Picture]From: kvance
2003-10-26 12:33 pm (UTC)

Re: this is proof..

YES! And it makes good sample data!
(Reply) (Parent) (Thread)
[User Picture]From: suppafly
2003-10-26 02:00 pm (UTC)
lol at the koolaid man.. reminds me of one of my favorite penny arcade comics
(Reply) (Thread)