Yes, I have, and since it's not my own webserver, I'm just a basic user and don't have permission to do so. Even if I could, that doesn't address the issue entirely because I might be able to chown/chgrp the file manually, but I don't want to have ot do that every time my script creates a new file. I even tried using the chown() and chgrp() functions (crossing my fingers), and received permissions denied.
The strange thing is that I tested this all at home on my personal server (OS X Rocks) and it worked just fine. I think the key is that for some reason the script is writing the file as owner 48 and group 48, and I can't figure out why. Is there a way to tell PHP which owner and group to write the file as? (probably not.)
Thanks,