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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gurra16 at spray dot se
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 03:01:32 2025 UTC