ID: 27402
Updated by: [EMAIL PROTECTED]
Reported By: maddog2k at maddog2k dot net
-Status: Open
+Status: Bogus
Bug Type: CGI related
Operating System: FreeBSD 5.2
PHP Version: 4.3.5RC3
New Comment:
It's not PHP problem to solve.
Previous Comments:
------------------------------------------------------------------------
[2004-02-26 06:06:01] maddog2k at maddog2k dot net
Description:
------------
When using PHP in CGI-mode, it specifically doesn't parse it's
options.
This is useless behaviour, since you can't do anything more then with
those options (when looking at security)
The problem is as follows:
Sometimes it is wanted that based on the extension, the php interpreter
is called with different options.
For example:
.phps -> #!/usr/local/bin/php -s
.phpq -> #!/usr/local/bin/php -q
print "Content-type: image/png";
Can't you make an option for people who know exactly what they're
doing, to get these options parsed ?? It's then up to the wrapper
script to control things...
Thank you :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27402&edit=1