Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
matei_ commented: Thank you very much! You saved me. It works in the way I want it to. +0
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
matei_ commented: Any updates? Can't we work something from cidrToRange function? +0
Josh Connerty 20 Unverified User
matei_ commented: I solved the error, but the problem is now that I get only the IPs only to .24 and I should get until .255 +0
Josh Connerty 20 Unverified User
matei_ commented: The $pluginData -> ipAddresses is the actual text area that holds all the CIDR ranges. +0
Josh Connerty 20 Unverified User
matei_ commented: Using "var_dump($pluginData -> ipAddresses)" it shows me this: "array(0) { }"... +0
Josh Connerty 20 Unverified User
matei_ commented: Sure, thank you very much! +0
Josh Connerty 20 Unverified User
matei_ commented: I get only the CIDR, e.g.: 88.39.88.0/24, 89.33.88.0/24 etc.. I want to retrieve a list with IPs from all the CIDRs that I have in my textarea. +0
Josh Connerty 20 Unverified User
matei_ commented: "Notice: Undefined variable: cidrs on line 41 && Warning: Invalid argument supplied for" - Line 41" foreach($cidrs as $cidr) +0
Josh Connerty 20 Unverified User
matei_ commented: Your function works as you said, but what I am trying to do is to retrieve a full list with IPs from the CIDR ranges that I have. +0
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User
Josh Connerty 20 Unverified User