|
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-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jan 04 01:00:01 2026 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 :)