[TYPO3-core] RFC: cli_dispatch.phpsh
Andreas Otto
ao-lists at php4win.de
Thu Nov 30 11:29:50 CET 2006
Hi Martin,
On Thursday, 30. November 2006 10:59, Martin Kutschker wrote:
> If we have #! I can still override it by using it with "php <file>".
Yes, but why if #! is not necessary in the first place. Maybe because of
backwards compatibility.
> OTOH, it might be a good idea to add an "if (PHP_SAPI!='cli') die('')"
> check. Invoking a CLI from the browser may lead to troubles, access control
> issues may be one of them.
That's a good idea.
Cheers,
Andreas
--
Seit 31435026 Sekunden.
Since 31435026 seconds.
Fingerprint: C657 2759 FD22 7612 3238 99C1 1BEB 20D4 7574 A959
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061130/537b9443/attachment.pgp
More information about the TYPO3-team-core
mailing list