ID: 8687 Updated by: [EMAIL PROTECTED] -Summary: fopen : prepend 'p' option request Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: all PHP Version: 4.0.4 New Comment:
there is no portable way to do this that is not totally gross. Previous Comments: ------------------------------------------------------------------------ [2001-01-12 22:35:58] [EMAIL PROTECTED] Fopen has an append mode, what about a (p)repend mode too! Couldn't find previous discussion on the topic but assume it has been discussed. Perhaps an optional "temporary directory" parameter while in 'p' mode can exist as part of the current third parameter. 1 = include_path, anything else to be seen as a temp_path/file.ext Or something similar. If not viable please briefly explain why. philip ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8687&edit=1