|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44915 ip2long
Submitted: 2008-05-05 12:06 UTC Modified: 2008-05-06 19:50 UTC
From: sascha at rizzt dot kicks-ass dot org Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.6 OS: Linux #1
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: sascha at rizzt dot kicks-ass dot org
New email:
PHP Version: OS:


 [2008-05-05 12:06 UTC] sascha at rizzt dot kicks-ass dot org
Since quite a while i see ips like

the ips in the logfile are correct, but ip2long doesn't convert it correctly.

i cannot reproduce the bug with a simple script.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-05 12:25 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.
 [2008-05-06 19:50 UTC] sascha at rizzt dot kicks-ass dot org
mysql issue, the new version doesnt convert unsigned to signed anymore and cuts the value
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 13:01:25 2023 UTC