note 49961 added to function.long2ip

From: Date: Sun, 13 Feb 2005 22:50:57 +0000
Subject: note 49961 added to function.long2ip
Groups: php.notes 
Request: Send a blank email to php-notes+get-84942@lists.php.net to get a copy of this message
when importing ip-ranges to a mysql database using an INT(10) field - NOTE: that you will get problems when using intval() function! copied from "cleong" : 02-Oct-2001 02:21 intval() handles overflow differently depending on the type of the argument. <?php // intval('10000000000') = 2147483647 // intval(1e10) = 1410065408 ?> ---- Manual Page -- http://www.php.net/manual/en/function.long2ip.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49961 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49961&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49961&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49961&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49961&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49961&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49961&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84942) next »