Any idea why this PHP fails to write a file?

Miscellaneous Forums/General Discussion/Any idea why this PHP fails to write a file?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Yes you need to set the mod, owner and group permissions on the file you are trying to write to - the script owner may need to be "root" or "nobody"

The following Unix commands are the ones you need to lookup :

chmod - Sets File attributes
chown - Sets File Ownership
chgrp - Sets File Group Ownership

For more detail on the error you should refer to your webserver logs.