On Thu, 16 Sep 2004 13:31:08 -0700, Andrew Kreps <[EMAIL PROTECTED]> wrote: > PHP can be run from the command line, in which case the GET and POST > arrays wouldn't exist.
$_GET and $_POST exist in CLI php, they are just empty initially: #!/usr/bin/php <?php print_r($_GET); print_r($_POST); $_GET['x'] = 1; $_POST['x'] = 1; print_r($_GET); print_r($_POST); ?> Array ( ) Array ( ) Array ( [x] => 1 ) Array ( [x] => 1 ) -- Greg Donald http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php