-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
ip2range
Description
Convert a single IP to a ranged IP.
Syntax
array ip2range (string $fullip)
Parameter $fullip
Expected type: String
Description: The IP string (1.2.3.4 1.2.3.4-5, 1.2.3.*, etc.)
Return value
Expected type: Array of arrays
Description: Returns an array containing 4 arrays, each with 'low' and 'high' representing the low and high end of each part of the IP
Notes
- This is the opposite of range2ip
- Takes a single IP string and splits each part into an array of low and high values
- Returns an array of 4 arrays, each of which has a 'low' and 'high'
- Located in ManageMembers.php in 1.0.x
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search