Re: PHP code will not work
| From: | Daniel Brown | Date: | Thu, 10 Jul 2008 14:31:42 +0000 |
| Subject: | Re: PHP code will not work | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276586@lists.php.net to get a copy of this message | ||
On Thu, Jul 10, 2008 at 2:15 AM, Ted Wood <ted-talks@codeoflife.ca> wrote:
>
> PHP at the command line doesn't run within a web server environment.
Correct. EGPCS is inaccessible via the CLI (unless you
force-populate the variables and arrays). Only via a web server will
you have access to:
$_ENV
$_GET
$_POST
$_COOKIE
$_SERVER
- and -
$_SESSION
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.