QUOTE(Luke @ May 26 2008, 06:55 PM)

So... I just recode it to not allow saving as a php file?
You'd want to make sure you're not allowing editing of your files though, can easily inject malware via javascript into some pages and no one be any the wiser. I'd think about writing some filtering layer with sanitizes anything that's being inserted, additionally some sort of access control layer, so if you need to add javascript for instance you can, but someone who doesn't have the correct flags for doing such a task can't.
What exactly is the purpose of them creating the files, maybe we can offer some suggestions?