bradgrafelman, that second snipppet shows this:
Array
(
[GLOBALS] => Array
*RECURSION*
[_POST] => Array
(
)
[_GET] => Array
(
[test] =>
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[_SERVER] => Array
(
[HTTP_HOST] => localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
[HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_KEEP_ALIVE] => 300
[HTTP_CONNECTION] => keep-alive
[HTTP_REFERER] => http://localhost/php_test2.php
[CONTENT_TYPE] => application/x-www-form-urlencoded
[CONTENT_LENGTH] => 16
[PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;c:\program files\ati technologies\ati control panel;c:\program files\quicktime\qtsystem\;c:\program files\securecrt\;C:\Program Files\MATLAB71\bin\win32;c:\Apache\php;C:\Apache\mysql\bin;C:\c\bin
[SystemRoot] => C:\WINDOWS
[COMSPEC] => C:\WINDOWS\system32\cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[WINDIR] => C:\WINDOWS
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache/2.2.3 (Win32) PHP/5.2.0RC3-dev
[SERVER_NAME] => localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => C:/Apache/htdocs
[SERVER_ADMIN] => admin@localhost.com
[SCRIPT_FILENAME] => C:/Apache/htdocs/php_test2.php
[REMOTE_PORT] => 3473
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => POST
[QUERY_STRING] => test
[REQUEST_URI] => /php_test2.php?test
[SCRIPT_NAME] => /php_test2.php
[PHP_SELF] => /php_test2.php
[REQUEST_TIME] => 1167606266
[argv] => Array
(
[0] => test
)
[argc] => 1
)
)
It is really odd. Could it be a ini setting, or maybe should I upgrade apache?