php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19454 A way to run php auto_prepend_file before not-to-be-parsed files would be nice
Submitted: 2002-09-17 11:13 UTC Modified: 2011-01-01 01:03 UTC
Votes:3
Avg. Score:3.7 ± 1.9
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: gurra16 at spray dot se Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4.2.3 OS: Red Hat (null)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-09-17 11:13 UTC] gurra16 at spray dot se
It would be useful if you could give directives to the php auto_prepend_file, so that it could run before any given file type. That is, even a given file type that is not supposed to be parsed by php. Like an image file for example. You may want to run a script before showing the image, but you don't want the image content itself to be parsed by php.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 01:03 UTC] jani@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2011-01-01 01:03 UTC] jani@php.net
Do that from your script.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC