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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 47 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC