PHP 4.0 Bug #6789 Updated: $HOSTNAME variable not recognized anymore
| From: | sniper@php.net | Date: | Mon, 16 Oct 2000 15:09:55 +0000 |
| Subject: | PHP 4.0 Bug #6789 Updated: $HOSTNAME variable not recognized anymore | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35140@lists.php.net to get a copy of this message | ||
ID: 6789
Updated by: sniper
Reported By: harry@forbess.com
Status: Closed
Bug Type: PHP options/info functions
Assigned To:
Comments:
No feedback.
Try using this instead: $HTTP_ENV_VARS["HOSTNAME"]
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-21 07:18:30] sniper@php.net
Please try <?php phpinfo() ;?> and check the Environment-section for HOSTNAME.
And please include your configure line and php.ini file here.
--Jani
---------------------------------------------------------------------------
[2000-09-17 09:52:24] harry@forbess.com
we have a little script that allows our pages to know if they are on our dev server or production
server. This script ceased to function because the variable $HOSTNAME does not return anything
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6789