#19951 [Opn->Csd]: getenv() returns nothing

From: Date: Thu, 17 Oct 2002 12:32:37 +0000
Subject: #19951 [Opn->Csd]: getenv() returns nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22655@lists.php.net to get a copy of this message
ID: 19951 Updated by: iliaa@php.net Reported By: sh@proofex.com -Status: Open +Status: Closed Bug Type: Variables related Operating System: Red Hat 8.0 PHP Version: 4.2.2 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-10-17 07:20:58] sh@proofex.com I run Apache 2.0.40 and PHP 3.22 under Red Hat 8.0. When i try to read the HTTP_HOST-Name with the getenv()-function, then the functions return an empty string. When i use the $GLOBAL-array i can read the http-hostname correctly. Geetings, Stephan Hartz ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19951&edit=1

« previous php.bugs (#22655) next »