php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8687 fopen : prepend 'p' option request
Submitted: 2001-01-12 22:35 UTC Modified: 2002-02-09 23:20 UTC
From: philip at theprojects dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4 OS: all
Private report: No CVE-ID: None
 [2001-01-12 22:35 UTC] philip at theprojects dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-09 23:20 UTC] jimw@php.net
there is no portable way to do this that is not totally gross.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 13:01:27 2024 UTC