|  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
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:
Solve the problem:
26 - 21 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 08:01:30 2024 UTC