|
Posted by Chung Leong on 11/19/79 11:47
Andy Jeffries wrote:
>
> Or PHP configured as a CLI binary (AFAIK $_SERVER is only available to
> apache modules and ISAPI modules).
I'm pretty sure that $_SERVER, along with $_GET, $_POST, and $_COOKIE
are available in PHP-CLI. They're built fairly deep inside PHP.
There's no easy way to rip them out. It's certainly not worth the
effort, as you'll only end up breaking things.
Only session and file support support are removed from CLI if I
remember correctly.
Navigation:
[Reply to this message]
|