note 97794 deleted from features.commandline by danbrown
| From: | danbrown@php.net | Date: | Sun, 09 May 2010 00:48:02 +0000 |
| Subject: | note 97794 deleted from features.commandline by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169080@lists.php.net to get a copy of this message | ||
Note Submitter: memmie at lenglet dot name
Reason: bad code
----
To be portable on most UNIX platforms, use this sha-bang : "#!/usr/bin/env php" instead of
"#!/bin/php".
But according to http://en.wikipedia.org/wiki/Shebang_(Unix)#Portability
:
"This approach may introduce vulnerabilities that expose information or gain unauthorized root
access and does not grant complete portability."