[PHP] naming a directory after a user-submitted string

2004-01-27 Thread Joey Manley
Thanks for the thoughts on .sit files. I still don't quite know what I'll do (maybe I'll just force'em to make .zips -- it's not like it's IMPOSSIBLE for a Mac to make .zips). Here's another question, possibly easier. Possibly even bone-headed. What kind of checking/filtering/changing do I need

[PHP] handling .zip and .sit files

2004-01-27 Thread Joey Manley
I'm working on an application which allows cartoonists to upload and schedule comic strips at webcomicsnation.com. At present, the way it works is that the cartoonist uploads a strip on one page of a "wizard" style form, then enters metadata about the strip (date it should go live, description, ti

Re: [PHP] connecting PHP to MS Access

2004-01-19 Thread Joey Manley
There are far more elegant ways to do it. But for such a small file, the looping-through-and-writing-sql-inserts-one-at-a-time should work just fine. As long as you don't have to do it more than once, and the file is so small, that's what I'd do. I've done it that way before. An even uglier way: