#7639 [Com]: $REMOTE_HOST

From: Date: Sat, 27 Mar 2004 23:38:45 +0000
Subject: #7639 [Com]: $REMOTE_HOST
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56965@lists.php.net to get a copy of this message
ID: 7639 Comment by: jay at jvstudios dot com Reported By: niels at nielsonline dot com Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.3pl1 New Comment: Hi, A work around - $rhost = @gethostbyaddr($REMOTE_ADDR); Laters Previous Comments: ------------------------------------------------------------------------ [2000-11-05 12:36:23] waldschrott@php.net closed ------------------------------------------------------------------------ [2000-11-04 20:18:57] rasmus@php.net REMOTE_HOST is only available if your web server is configured to do dns lookups on each request. By default dns lookups are not turned on in Apache, so I would guess that this is your problem and that it has nothing to do with PHP. ------------------------------------------------------------------------ [2000-11-04 17:28:37] niels at nielsonline dot com Hi, $REMOTE_HOST doesn't work in php4.0.3pl1. Maybie this bug has been submitted already, but i coul'd not find a list of submitted bugs. Bye ;) Niels - nielsonline.com ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7639&edit=1

« previous php.bugs (#56965) next »