#44915 [Fbk-Csd]: ip2long
ID: 44915 User updated by: sascha at rizzt dot kicks-ass dot org Reported By: sascha at rizzt dot kicks-ass dot org -Status: Feedback +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux 2.6.24.3-34.fc8 #1 PHP Version: 5.2.6 New Comment: mysql issue, the new version doesnt convert unsigned to signed anymore and cuts the value Previous Comments: [2008-05-05 12:25:24] [EMAIL PROTECTED] 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-05 12:06:25] sascha at rizzt dot kicks-ass dot org Description: Since quite a while i see ips like 127.255.255.255 the ips in the logfile are correct, but ip2long doesn't convert it correctly. i cannot reproduce the bug with a simple script. -- Edit this bug report at http://bugs.php.net/?id=44915edit=1
#44915 [NEW]: ip2long
From: sascha at rizzt dot kicks-ass dot org Operating system: Linux 2.6.24.3-34.fc8 #1 PHP version: 5.2.6 PHP Bug Type: Unknown/Other Function Bug description: ip2long Description: Since quite a while i see ips like 127.255.255.255 the ips in the logfile are correct, but ip2long doesn't convert it correctly. i cannot reproduce the bug with a simple script. -- Edit bug report at http://bugs.php.net/?id=44915edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44915r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44915r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44915r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44915r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44915r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44915r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=44915r=needscript Try newer version:http://bugs.php.net/fix.php?id=44915r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44915r=support Expected behavior:http://bugs.php.net/fix.php?id=44915r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44915r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44915r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44915r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44915r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44915r=dst IIS Stability:http://bugs.php.net/fix.php?id=44915r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44915r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44915r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44915r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=44915r=mysqlcfg