PHP: fopen - Manual - PHP: Hypertext Preprocessor
Note: When safe mode is enabled, PHP checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed. Note: If you are experiencing problems with reading and writing to files and you're using the...