|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-02-26 07:15 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
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 :)