php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7639 $REMOTE_HOST
Submitted: 2000-11-04 17:28 UTC Modified: 2000-11-05 12:36 UTC
From: niels at nielsonline dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: niels at nielsonline dot com
New email:
PHP Version: OS:

 

 [2000-11-04 17:28 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-04 20:18 UTC] 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-05 12:36 UTC] waldschrott@php.net
closed
 [2004-03-27 18:38 UTC] jay at jvstudios dot com
Hi,
A work around - $rhost = @gethostbyaddr($REMOTE_ADDR);
Laters
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 13:01:33 2025 UTC