note 15387 deleted from function.ip2long by jimw
| From: | jimw@php.net | Date: | Sat, 03 Nov 2001 18:43:14 +0000 |
| Subject: | note 15387 deleted from function.ip2long by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20397@lists.php.net to get a copy of this message | ||
If you want a signed long (in my case, for legacy reasons), this seems to work OK:
if ($long > 2147483647) { $long = $long - (2147483648 * 2);