Hallo zusammen,
hab grad xampplite installiert (PHP Version 5.1.6) und meine
scripten kopiert ....
Nix geht weil:
bringt:
Array
(
[HTTP_HOST] => www.xyz.localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
[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_CACHE_CONTROL] => max-age=0
[PATH] => C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programme\UltraEdit
[SystemRoot] => C:\WINNT
[COMSPEC] => C:\WINNT\system32\cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[WINDIR] => C:\WINNT
[SERVER_SIGNATURE] => <address>Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6 Server at www.xyz.localhost Port 80</address>
[SERVER_SOFTWARE] => Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6
[SERVER_NAME] => www.xyz.localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => S:/xampp/website/xyz/html
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => S:/xampp/website/xyz/html/index.html
[REMOTE_PORT] => 3212
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /
[SCRIPT_NAME] => /index.html
[PHP_SELF] => /index.html
[REQUEST_TIME] => 1159982085
[argv] => Array
(
)
[argc] => 0
)
und
ist leer???
irgend eine inisetting oder so ...
welche war den das bitte
Danke Orestis
hab grad xampplite installiert (PHP Version 5.1.6) und meine
scripten kopiert ....
Nix geht weil:
PHP-Code:
print_r ($_SERVER)
Array
(
[HTTP_HOST] => www.xyz.localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
[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_CACHE_CONTROL] => max-age=0
[PATH] => C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programme\UltraEdit
[SystemRoot] => C:\WINNT
[COMSPEC] => C:\WINNT\system32\cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[WINDIR] => C:\WINNT
[SERVER_SIGNATURE] => <address>Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6 Server at www.xyz.localhost Port 80</address>
[SERVER_SOFTWARE] => Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_autoindex_color PHP/5.1.6
[SERVER_NAME] => www.xyz.localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => S:/xampp/website/xyz/html
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => S:/xampp/website/xyz/html/index.html
[REMOTE_PORT] => 3212
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /
[SCRIPT_NAME] => /index.html
[PHP_SELF] => /index.html
[REQUEST_TIME] => 1159982085
[argv] => Array
(
)
[argc] => 0
)
und
PHP-Code:
echo $HTTP_HOST
irgend eine inisetting oder so ...
welche war den das bitte
Danke Orestis
Kommentar